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
|
|
@ -40,7 +40,7 @@ class eoGOpBreeder: public eoMonPopOp<EOT>
|
|||
|
||||
for (unsigned i = 0; i < size; i++)
|
||||
{ // and the one liner
|
||||
opSel.selectOp()(selector.bind(_pop,size, i), inserter.bind(_pop));
|
||||
opSel.selectOp()(selector.bind(_pop,size).bias(i), inserter.bind(_pop));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue