The new libga
Apart from big changes in the src/ga dir, and the addition of the src/do dir it also generated a few changes here and there, e.g. some include file still missing. Also removed some warning from some test files.
This commit is contained in:
parent
e71aea497f
commit
56c9464306
32 changed files with 1679 additions and 158 deletions
|
|
@ -42,14 +42,14 @@ typedef eoVector<eoMinimizingFitness, int> Chrom2;
|
|||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
main()
|
||||
int main()
|
||||
{
|
||||
const unsigned SIZE = 4;
|
||||
|
||||
// check if the appropriate ctor gets called
|
||||
Chrom1 chrom(SIZE, 5);
|
||||
|
||||
for (int i = 0; i < chrom.size(); ++i)
|
||||
for (unsigned i = 0; i < chrom.size(); ++i)
|
||||
{
|
||||
assert(chrom[i] == 5);
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue