Added a bias function next to bind(). This function will bias the selection to select certain specific guys...

This commit is contained in:
mac 2000-04-20 11:06:02 +00:00
commit 007046c134
3 changed files with 27 additions and 8 deletions

View file

@ -93,7 +93,7 @@ template<class Chrom> class eoBreeder: public eoMonPopOp<Chrom>
eoRandomIndiSelector<Chrom> selector;
eoBackInserter<Chrom> inserter;
(*Gop)(selector.bind(pop, orgsize, i), inserter.bind(pop));
(*Gop)(selector.bind(pop, orgsize).bias(i), inserter.bind(pop));
break;
}
}