/** -*- mode: c++; c-indent-level:
4; c++-member-init-indent: 8; comment-column: 35; -*-
The above line is usefulin Emacs-like editors
/*
#ifndef _eoOneMaxEvalFunc_h
// include whatever general include you need
// include the base definition of eoEvalFunc
/**
|
template <class EOT>
class eoOneMaxEvalFunc : public eoEvalFunc<EOT> { public: /// Ctor - no requirement |
{ |
//
START Code of Ctor of an eoOneMaxEvalFunc object
// END Code of Ctor of an eoOneMaxEvalFunc object |
}
/** Actually compute the fitness
|
// START Code of computation of fitness of the eoOneMax object
// fit = blablabla // END Code of computation of fitness of the eoOneMax object |
_eo.fitness(fit);
} } private: |
// START Private data
of an eoOneMaxEvalFunc object
// varType anyVariable; // for example ... // END Private data of an eoOneMaxEvalFunc object |
};
#endif |