jeco.kernel.algorithm.moge
Class EliteSelectionOperationMO
java.lang.Object
Operator.Operations.SelectionOperation
jeco.kernel.algorithm.moge.EliteSelectionOperationMO
- All Implemented Interfaces:
- Operator.Operations.Operation, Parameter.ParameterI
public class EliteSelectionOperationMO
- extends Operator.Operations.SelectionOperation
Class for selection of elites considering dominance.
- Author:
- J. M. Colmenar
Field Summary |
protected Util.Random.RandomNumberGenerator |
rng
|
Fields inherited from class Operator.Operations.SelectionOperation |
selectedPopulation, size |
Method Summary |
void |
doOperation(Individuals.Individual operand)
|
void |
doOperation(java.util.List<Individuals.Individual> operands)
Gets non-dominated individuals (multiobjective) and then
takes out size number of random individuals and adds to the
selectedPopulation. |
void |
setProperties(java.util.Properties p)
|
Methods inherited from class Operator.Operations.SelectionOperation |
getSelectedPopulation, getSize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rng
protected Util.Random.RandomNumberGenerator rng
EliteSelectionOperationMO
public EliteSelectionOperationMO(int size,
Util.Random.RandomNumberGenerator rand)
- New instance
- Parameters:
size
- size of elites
EliteSelectionOperationMO
public EliteSelectionOperationMO(java.util.Properties p,
Util.Random.RandomNumberGenerator rand)
- New instance
- Parameters:
p
- properties
setProperties
public final void setProperties(java.util.Properties p)
- Specified by:
setProperties
in interface Parameter.ParameterI
- Overrides:
setProperties
in class Operator.Operations.SelectionOperation
doOperation
public void doOperation(Individuals.Individual operand)
- Specified by:
doOperation
in interface Operator.Operations.Operation
- Specified by:
doOperation
in class Operator.Operations.SelectionOperation
doOperation
public void doOperation(java.util.List<Individuals.Individual> operands)
- Gets non-dominated individuals (multiobjective) and then
takes out size number of random individuals and adds to the
selectedPopulation.
- Specified by:
doOperation
in interface Operator.Operations.Operation
- Specified by:
doOperation
in class Operator.Operations.SelectionOperation
- Parameters:
operands
- Individuals to select from