Added the monitoring facilities for snapshots (i.e. generating and plotting a new file

every generation) which is different from the continuous monitoring (same file/plot is
angemented every generation).
This lead to a number of modifications in many files in utils dir

But now we can watch on-line
- fitness spreadout
- FDC plots
- multi-objective Pareto fronts (though the multi-objective sruff isn't there yet!)
This commit is contained in:
evomarc 2001-01-31 18:38:39 +00:00
commit 56abe66582
10 changed files with 817 additions and 268 deletions

View file

@ -41,11 +41,11 @@ class eoDistance : public eoBF<const EOT &, const EOT &, double>
assumes the 2 things are vectors of something that is double-castable
*/
template< class T >
class eoQuadDistance : public eoDistance<vector<T> >
template< class EOT >
class eoQuadDistance : public eoDistance<EOT>
{
public:
double operator()(const vector<T> & _v1, const vector<T> & _v2)
double operator()(const EOT & _v1, const EOT & _v2)
{
double sum=0.0;
for (unsigned i=0; i<_v1.size(); i++)