wrong file replaced with the right version
This commit is contained in:
parent
aacba6f813
commit
716abe4610
3 changed files with 119 additions and 4 deletions
24
mo/test/t-moFitnessVarianceStat.cpp
Normal file
24
mo/test/t-moFitnessVarianceStat.cpp
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// t-moFitnessNeighborStat.cpp
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#include <eo>
|
||||
//#include "eoReal.h"
|
||||
#include "continuator/moFitnessVarianceStat.h"
|
||||
#include "neighborhood/moRealNeighbor.h"
|
||||
#include "neighborhood/moRealNeighborhood.h"
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
typedef eoReal< eoMinimizingFitness > EOT;
|
||||
typedef moRealNeighbor< EOT > Neighbor;
|
||||
|
||||
int main(int ac, char** av)
|
||||
{
|
||||
//moNeighborhoodStat<Neighbor> nhStat
|
||||
moFitnessVarianceStat<Neighbor> stat();
|
||||
EOT solution(2, 5);
|
||||
stat(solution);
|
||||
//assert(stat.value() == 1);
|
||||
std::cout << "ok " << stat.value() << endl;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue