📄 gaevaldata.h
字号:
// $Header: /usr/people/mbwall/src/galib/ga/RCS/GAEvalData.h,v 1.2 1998/10/05 21:30:09 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. It
can 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -