ga1darraysolution.cpp
来自「遗传算法vc++语言版源程序,台湾大学编写。」· C++ 代码 · 共 12 行
CPP
12 行
#include <iostream>
using namespace std;
#include "GA1DArraySolution.h"
#include "UOFProblem.h"
GA1DArraySolution::GA1DArraySolution(size_t length, UOFInitializer *init, UOFEvaluator *eval)
:PopSolution(init,eval)
{
m_Array.resize(length);
if(m_pInit) SelfInit();
// 砞﹚
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?