gaevaldata.h

来自「麻省理工开发的免费遗传算法类库GAlib,很好用」· C头文件 代码 · 共 28 行

H
28
字号
// $Header: /nfs/dsi/cvs/galib/ga/GAEvalData.h,v 1.1.1.1 1999/11/11 18:56:03 mbwall Exp $/* ----------------------------------------------------------------------------  eval.h  mbwall 3dec95  Copyright (c) 1995 Massachusetts Institute of Technology                     all rights reserved DESCRIPTION:  This is the basic interface for the object that contains evaluation data.  Itcan be used with genomes and/or populations in combination with their respective evaluation methods.---------------------------------------------------------------------------- */#ifndef _ga_eval_h_#define _ga_eval_h_class GAEvalData {public:  GAEvalData() {}  GAEvalData(const GAEvalData&) {}  virtual ~GAEvalData() {}  GAEvalData& operator=(const GAEvalData& orig)     { if(&orig != this) copy(orig); return *this; }  virtual GAEvalData* clone() const =0;  virtual void copy(const GAEvalData&) =0;};#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?