In file EO++.h:

template <class EOT> class Grapher : public EOEvaluator<EOT>

This is a decorator for the EOEvaluator class, as defined in the Gamma et al book

Inheritance:


Public Methods

virtual void Ef( const EOEvalFunc<EOT> & _ef )
forwards to EOEvaluator setFunc
Grapher( EOEvaluator<EOT>& _thisEval )
ctor
virtual void operator)( EOPop< EOT >& _vEO )
This is decorator: adds functionality to EOEvaluators; that is why it starts calling the object it has inside, and then performs whatever it is intended to
virtual ~Grapher()
Needed virtual dtor

Inherited from EOEvaluator:


Documentation

This is a decorator for the EOEvaluator class, as defined in the Gamma et al book. What it does is to do stuff with the fitness values of all the EOs, in particular, in this case, print mas and min. Can be used to add graphics capabilities to the EO library. Which will be done... eventually
Grapher( EOEvaluator<EOT>& _thisEval )
ctor

virtual ~Grapher()
Needed virtual dtor

virtual void Ef( const EOEvalFunc<EOT> & _ef )
forwards to EOEvaluator setFunc

virtual void operator)( EOPop< EOT >& _vEO )
This is decorator: adds functionality to EOEvaluators; that is why it starts calling the object it has inside, and then performs whatever it is intended to. In the case of EOGrapher, it just computes max, min and average fitness. Not very efficient (runs over the list 3 times) but quite elegant


This class has no child classes.

alphabetic index hierarchy of classes


BinOp