Operator.Operations
Class LSystemSelect
java.lang.Object
Operator.Operations.SelectionOperation
Operator.Operations.LSystemSelect
- All Implemented Interfaces:
- Operation, ParameterI, Stochastic
public class LSystemSelect
- extends SelectionOperation
- implements Stochastic
- Author:
- erikhemberg, Patrick Middleburgh, eliott bartley
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rng
protected RandomNumberGenerator rng
LSystemSelect
public LSystemSelect()
LSystemSelect
public LSystemSelect(int size)
setProperties
public void setProperties(java.util.Properties p)
- Description copied from class:
SelectionOperation
- Set properties
- Specified by:
setProperties
in interface ParameterI
- Overrides:
setProperties
in class SelectionOperation
- Parameters:
p
- object containing properties
doOperation
public void doOperation(Individual operand)
- Description copied from interface:
Operation
- Performs the operation on an operand
- Specified by:
doOperation
in interface Operation
- Specified by:
doOperation
in class SelectionOperation
- Parameters:
operand
- operand to perform operation on
doOperation
public void doOperation(java.util.List<Individual> operands)
- Description copied from interface:
Operation
- Performs the operation on the list passed
- Specified by:
doOperation
in interface Operation
- Specified by:
doOperation
in class SelectionOperation
- Parameters:
operands
- operands to be operated on
setRNG
public void setRNG(RandomNumberGenerator m)
- Description copied from interface:
Stochastic
- Set the number generator
- Specified by:
setRNG
in interface Stochastic
- Parameters:
m
- number generator
getRNG
public RandomNumberGenerator getRNG()
- Description copied from interface:
Stochastic
- Get the number generator
- Specified by:
getRNG
in interface Stochastic
- Returns:
- number generator