Operator.Operations
Class ShapeGrammarSelect

java.lang.Object
  extended by Operator.Operations.ShapeGrammarSelect
All Implemented Interfaces:
Operation, ParameterI

public class ShapeGrammarSelect
extends java.lang.Object
implements Operation

Author:
John Mark Swafford

Field Summary
protected  RandomNumberGenerator rng
           
 
Constructor Summary
ShapeGrammarSelect()
           
 
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
 void setProperties(java.util.Properties p)
          Set properties
 
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

ShapeGrammarSelect

public ShapeGrammarSelect()
Method Detail

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
Parameters:
operands - operands to be operated on

doOperation

public void doOperation(Individual operand)
Description copied from interface: Operation
Performs the operation on an operand

Specified by:
doOperation in interface Operation
Parameters:
operand - operand to perform operation on

setProperties

public void setProperties(java.util.Properties p)
Description copied from interface: ParameterI
Set properties

Specified by:
setProperties in interface ParameterI
Parameters:
p - object containing properties