Removed some obsolete files, changed min and max in compatibility, commented the parser out of eoESFullMut and added some default initialization (please check this Marc). Why eoParser has changed is beyond me, but I am too late to uncommit. I will update a real parser very soon now.
This commit is contained in:
parent
b111bf01aa
commit
4a6202ff13
9 changed files with 24 additions and 495 deletions
|
|
@ -39,7 +39,7 @@
|
|||
*/
|
||||
|
||||
template <class ScalarType, class Compare = less<ScalarType> >
|
||||
class eoScalarFitness
|
||||
class eoScalarFitness
|
||||
{
|
||||
public :
|
||||
|
||||
|
|
@ -56,15 +56,14 @@ class eoScalarFitness
|
|||
|
||||
// Comparison, using less by default
|
||||
bool operator<(const eoScalarFitness& other) const
|
||||
{ return Compare()(this->value, other.value); }
|
||||
{ return Compare()(value, other.value); }
|
||||
|
||||
private :
|
||||
ScalarType value;
|
||||
};
|
||||
|
||||
template <class F, class Cmp>
|
||||
std::ostream& operator<<(std::ostream& os, const eoScalarFitness<F, Cmp>&
|
||||
f)
|
||||
std::ostream& operator<<(std::ostream& os, const eoScalarFitness<F, Cmp>& f)
|
||||
{
|
||||
os << (F) f;
|
||||
return os;
|
||||
|
|
|
|||
Reference in a new issue