This commit is contained in:
gustavo 2000-04-11 12:18:30 +00:00
commit e5825c4d75
5 changed files with 5 additions and 12 deletions

View file

@ -29,7 +29,6 @@
#include <map> #include <map>
#include <string> #include <string>
#include <map>
#include "eoParam.h" #include "eoParam.h"
#include "eoObject.h" #include "eoObject.h"
@ -163,4 +162,4 @@ private:
}; };
#endif #endif

View file

@ -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-eoproblem t-eobin t-eolottery t-eo2dVector t-eogeneration t-eoEasyEA\
t-eoNonUniform t-eoUniform t-eoRandom t-eoStateAndParser \ t-eoNonUniform t-eoUniform t-eoRandom t-eoStateAndParser \
t-eoAtomOps t-selectOne t-eoGOpSel \ 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_eoCheckpointing_LDADD = $(LDADDS)
############################################################################### ###############################################################################
t_eoGOpSel_SOURCES = t-eoGOpSel.cpp
t_eoGOpSel_DEPENDENCIES = $(DEPS)
t_eoGOpSel_LDFLAGS = -lm
t_eoGOpSel_LDADD = $(LDADDS)
###############################################################################

View file

@ -28,6 +28,8 @@
// to avoid long name warnings // to avoid long name warnings
#pragma warning(disable:4786) #pragma warning(disable:4786)
#include <iostream>
#include <ga/eoBin.h> // eoBin, eoPop, eoBreeder #include <ga/eoBin.h> // eoBin, eoPop, eoBreeder
#include <eoPop.h> #include <eoPop.h>
#include <ga/eoBitOp.h> #include <ga/eoBitOp.h>

View file

@ -39,7 +39,7 @@ typedef eoVector<float> Chrom;
main() main()
{ {
const unsigned SIZE = 4; const unsigned SIZE = 4;
unsigned i, j;
eoUniform<Chrom::Type> uniform(-1,1); eoUniform<Chrom::Type> uniform(-1,1);
Chrom chrom1(SIZE,uniform), chrom2( SIZE, uniform); Chrom chrom1(SIZE,uniform), chrom2( SIZE, uniform);

View file

@ -17,7 +17,6 @@ typedef eoBin<float> Chrom;
main() main()
{ {
const unsigned CHROM_SIZE = 4; const unsigned CHROM_SIZE = 4;
unsigned i;
eoUniform<Chrom::Type> uniform(false, true); eoUniform<Chrom::Type> uniform(false, true);
eoBinRandom<Chrom> random; eoBinRandom<Chrom> random;