anticell.cpp
来自「一个函数寻优的免疫遗传算法」· C++ 代码 · 共 28 行
CPP
28 行
// AntiCell.cpp: implementation of the CAntiCell class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "ImmueGA.h"
#include "AntiCell.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CAntiCell::CAntiCell()
{ for(int i=0;i<VAR;i++)
AntiGene[i]=0;
}
CAntiCell::~CAntiCell()
{
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?