minor fixes

This commit is contained in:
LPTK 2013-06-13 14:55:01 +02:00
commit b1067a0525
2 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@
#include <mo>
#include <eoFunctor.h> // FIXME: Why don't we use eoFunctorBase on the mother classes
#include "neighbor/moRealNeighbor.h"
#include "neighborhood/moRealNeighbor.h"
template<class Distrib, class Neighbor>
class moRealNeighborhood : public moRndNeighborhood< Neighbor >, public eoFunctorBase

View file

@ -3,7 +3,7 @@
//-----------------------------------------------------------------------------
#include <eo>
//#include "eoReal.h"
#include "es/eoReal.h"
#include "continuator/moFitnessVarianceStat.h"
#include "neighborhood/moRealNeighbor.h"
#include "neighborhood/moRealNeighborhood.h"
@ -16,9 +16,9 @@ typedef moRealNeighbor< EOT > Neighbor;
int main(int ac, char** av)
{
//moNeighborhoodStat<Neighbor> nhStat
moFitnessVarianceStat<Neighbor> stat();
moFitnessVarianceStat<EOT> stat;
EOT solution(2, 5);
stat(solution);
//assert(stat.value() == 1);
std::cout << "ok " << stat.value() << endl;
std::cout << "ok " << stat.value() << std::endl;
}