minor fixes
This commit is contained in:
parent
716abe4610
commit
b1067a0525
2 changed files with 4 additions and 4 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
#include <mo>
|
#include <mo>
|
||||||
#include <eoFunctor.h> // FIXME: Why don't we use eoFunctorBase on the mother classes
|
#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>
|
template<class Distrib, class Neighbor>
|
||||||
class moRealNeighborhood : public moRndNeighborhood< Neighbor >, public eoFunctorBase
|
class moRealNeighborhood : public moRndNeighborhood< Neighbor >, public eoFunctorBase
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
#include <eo>
|
#include <eo>
|
||||||
//#include "eoReal.h"
|
#include "es/eoReal.h"
|
||||||
#include "continuator/moFitnessVarianceStat.h"
|
#include "continuator/moFitnessVarianceStat.h"
|
||||||
#include "neighborhood/moRealNeighbor.h"
|
#include "neighborhood/moRealNeighbor.h"
|
||||||
#include "neighborhood/moRealNeighborhood.h"
|
#include "neighborhood/moRealNeighborhood.h"
|
||||||
|
|
@ -16,9 +16,9 @@ typedef moRealNeighbor< EOT > Neighbor;
|
||||||
int main(int ac, char** av)
|
int main(int ac, char** av)
|
||||||
{
|
{
|
||||||
//moNeighborhoodStat<Neighbor> nhStat
|
//moNeighborhoodStat<Neighbor> nhStat
|
||||||
moFitnessVarianceStat<Neighbor> stat();
|
moFitnessVarianceStat<EOT> stat;
|
||||||
EOT solution(2, 5);
|
EOT solution(2, 5);
|
||||||
stat(solution);
|
stat(solution);
|
||||||
//assert(stat.value() == 1);
|
//assert(stat.value() == 1);
|
||||||
std::cout << "ok " << stat.value() << endl;
|
std::cout << "ok " << stat.value() << std::endl;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue