Operator.Operations
Class LSystemSelect

java.lang.Object
  extended by Operator.Operations.SelectionOperation
      extended by Operator.Operations.LSystemSelect
All Implemented Interfaces:
Operation, ParameterI, Stochastic

public class LSystemSelect
extends SelectionOperation
implements Stochastic

Author:
erikhemberg, Patrick Middleburgh, eliott bartley

Field Summary
protected  RandomNumberGenerator rng
           
 
Fields inherited from class Operator.Operations.SelectionOperation
selectedPopulation, size
 
Constructor Summary
LSystemSelect()
           
LSystemSelect(int size)
           
 
Method Summary
 void doOperation(Individual operand)
          Performs the operation on an operand
 void doOperation(java.util.List<Individual> operands)
          Performs the operation on the list passed
 RandomNumberGenerator getRNG()
          Get the number generator
 void setProperties(java.util.Properties p)
          Set properties
 void setRNG(RandomNumberGenerator m)
          Set the number generator
 
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
 

Field Detail

rng

protected RandomNumberGenerator rng
Constructor Detail

LSystemSelect

public LSystemSelect()

LSystemSelect

public LSystemSelect(int size)
Method Detail

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