📄 individual.cpp
字号:
// Individual.cpp: implementation of the CIndividual class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "遗传算法.h"
#include "Individual.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CIndividual::CIndividual()
{
fitness=0.0;
nmutation=0;
pcross=0.0;
pmutation=0.0;
xsite=0;
}
CIndividual::~CIndividual()
{
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -