Added a bias function next to bind(). This function will bias the selection to select certain specific guys...
This commit is contained in:
parent
2af4074c2c
commit
007046c134
3 changed files with 27 additions and 8 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue