/usr/include/ga/GAEvalData.h is in libga-dev 2.4.7-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | // $Header$
/* ----------------------------------------------------------------------------
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
|