📄 group.h
字号:
#ifndef H_GROUP
#define H_GROUP
#include "global.h"
#pragma once
namespace evo
{
class Group
{
public:
Group(void);
Group(int,VectorIDV);
public:
~Group(void);
public:
Group& evolute();
int generation;
VectorIDV member;
void printGroup(ostream&);
void printGroup(ofstream&);
int calValue() ;
bool operator==(Group &);
void printBestIndi(ostream&);
void printBestIndi(ofstream&);
private:
static const int memberCount;
static const float crossRate;
static const float variateRate;
};
}
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -