some fix
This commit is contained in:
parent
1992d60fa3
commit
e5825c4d75
5 changed files with 5 additions and 12 deletions
|
|
@ -29,7 +29,6 @@
|
|||
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <map>
|
||||
|
||||
#include "eoParam.h"
|
||||
#include "eoObject.h"
|
||||
|
|
@ -163,4 +162,4 @@ private:
|
|||
};
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ noinst_PROGRAMS = t-eobreeder t-eoinclusion t-eoinsertion t-eo t-eofitness \
|
|||
t-eoproblem t-eobin t-eolottery t-eo2dVector t-eogeneration t-eoEasyEA\
|
||||
t-eoNonUniform t-eoUniform t-eoRandom t-eoStateAndParser \
|
||||
t-eoAtomOps t-selectOne t-eoGOpSel \
|
||||
t-eoVector t-eoCheckpointing t-eoGOpSel
|
||||
t-eoVector t-eoCheckpointing
|
||||
|
||||
###############################################################################
|
||||
|
||||
|
|
@ -170,10 +170,3 @@ t_eoCheckpointing_LDFLAGS = -lm
|
|||
t_eoCheckpointing_LDADD = $(LDADDS)
|
||||
|
||||
###############################################################################
|
||||
|
||||
t_eoGOpSel_SOURCES = t-eoGOpSel.cpp
|
||||
t_eoGOpSel_DEPENDENCIES = $(DEPS)
|
||||
t_eoGOpSel_LDFLAGS = -lm
|
||||
t_eoGOpSel_LDADD = $(LDADDS)
|
||||
|
||||
###############################################################################
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@
|
|||
// to avoid long name warnings
|
||||
#pragma warning(disable:4786)
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <ga/eoBin.h> // eoBin, eoPop, eoBreeder
|
||||
#include <eoPop.h>
|
||||
#include <ga/eoBitOp.h>
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ typedef eoVector<float> Chrom;
|
|||
main()
|
||||
{
|
||||
const unsigned SIZE = 4;
|
||||
unsigned i, j;
|
||||
|
||||
eoUniform<Chrom::Type> uniform(-1,1);
|
||||
|
||||
Chrom chrom1(SIZE,uniform), chrom2( SIZE, uniform);
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ typedef eoBin<float> Chrom;
|
|||
main()
|
||||
{
|
||||
const unsigned CHROM_SIZE = 4;
|
||||
unsigned i;
|
||||
|
||||
eoUniform<Chrom::Type> uniform(false, true);
|
||||
eoBinRandom<Chrom> random;
|
||||
|
|
|
|||
Reference in a new issue