erasing warnings
This commit is contained in:
parent
318697af40
commit
3bc1cb49d8
10 changed files with 3 additions and 11 deletions
|
|
@ -1,7 +1,7 @@
|
|||
AC_INIT(src/eo)
|
||||
|
||||
dnl Change the version number here
|
||||
AM_INIT_AUTOMAKE(eo)
|
||||
AM_INIT_AUTOMAKE(eo, 0.0.0)
|
||||
|
||||
AC_PROG_CXX
|
||||
|
||||
|
|
@ -12,4 +12,4 @@ AM_PROG_LIBTOOL
|
|||
AM_MAINTAINER_MODE
|
||||
|
||||
dnl add Makefiles that must be modified by the configuration here
|
||||
AC_OUTPUT(Makefile src/Makefile src/es/Makefile src/ga/Makefile src/gp/Makefile src/obsolete/Makefile src/other/Makefile src/utils/Makefile test/Makefile win/Makefile doc/Makefile)
|
||||
AC_OUTPUT(Makefile src/Makefile src/es/Makefile src/ga/Makefile src/gp/Makefile src/obsolete/Makefile src/other/Makefile src/utils/Makefile test/Makefile win/Makefile doc/Makefile apps/nn/Makefile)
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ class eoUniform: public eoRnd<T>
|
|||
* @param _rnd the other rnd
|
||||
*/
|
||||
eoUniform( const eoUniform& _rnd)
|
||||
: eoRnd<T>( _rnd), min(_rnd.minim), diff(_rnd.diff) {}
|
||||
: eoRnd<T>( _rnd), min(_rnd.min), diff(_rnd.diff) {}
|
||||
|
||||
/** Returns an uniform random number over the interval [min, max)
|
||||
Uses global rng object */
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ main()
|
|||
const unsigned POP_SIZE = 8, CHROM_SIZE = 16;
|
||||
unsigned i;
|
||||
|
||||
eoUniform<Chrom::Type> uniform(false, true);
|
||||
eoBinRandom<Chrom> random;
|
||||
eoPop<Chrom> pop;
|
||||
|
||||
|
|
|
|||
|
|
@ -64,7 +64,6 @@ main()
|
|||
const unsigned POP_SIZE = 8, CHROM_SIZE = 4;
|
||||
unsigned i;
|
||||
|
||||
eoUniform<Chrom::Type> uniform(false, true);
|
||||
eoBinRandom<Chrom> random;
|
||||
eoPop<Chrom> pop;
|
||||
|
||||
|
|
|
|||
|
|
@ -48,7 +48,6 @@ main()
|
|||
const unsigned POP_SIZE = 8, CHROM_SIZE = 4;
|
||||
unsigned i;
|
||||
|
||||
eoUniform<Chrom::Type> uniform(false, true);
|
||||
eoBinRandom<Chrom> random;
|
||||
eoPop<Chrom> pop;
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,6 @@ main()
|
|||
const unsigned POP_SIZE = 8, CHROM_SIZE = 16;
|
||||
unsigned i;
|
||||
|
||||
eoUniform<Chrom::Type> uniform(false, true);
|
||||
eoBinRandom<Chrom> random;
|
||||
eoPop<Chrom> pop;
|
||||
// Evaluation
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ main()
|
|||
{
|
||||
const unsigned CHROM_SIZE = 4;
|
||||
|
||||
eoUniform<Chrom::Type> uniform(false, true);
|
||||
eoBinRandom<Chrom> random;
|
||||
|
||||
for (unsigned POP_SIZE = 4; POP_SIZE <=6; POP_SIZE++)
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ main()
|
|||
const unsigned CHROM_SIZE = 4;
|
||||
unsigned i;
|
||||
|
||||
eoUniform<Chrom::Type> uniform(false, true);
|
||||
eoBinRandom<Chrom> random;
|
||||
|
||||
for (unsigned POP_SIZE = 4; POP_SIZE <=6; POP_SIZE++)
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ main()
|
|||
{
|
||||
const unsigned POP_SIZE = 8, CHROM_SIZE = 4;
|
||||
|
||||
eoUniform<Chrom::Type> uniform(false, true);
|
||||
eoPop<Chrom> pop, pop2;
|
||||
eoBinRandom<Chrom> random;
|
||||
unsigned i;
|
||||
|
|
|
|||
|
|
@ -51,7 +51,6 @@ main()
|
|||
const unsigned POP_SIZE = 8, CHROM_SIZE = 4;
|
||||
unsigned i;
|
||||
|
||||
eoUniform<Chrom::Type> uniform(false, true);
|
||||
eoBinRandom<Chrom> random;
|
||||
eoPop<Chrom> pop;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue