|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectOperator.OperatorModule
Operator.SourceModule
Operator.SplitOperator
Operator.SelectionScheme
public class SelectionScheme
SelectionScheme has a SelectionOperation This opertor is used for selecting from the population
| Field Summary |
|---|
| Fields inherited from class Operator.SplitOperator |
|---|
destinationPopulation, operation |
| Fields inherited from class Operator.SourceModule |
|---|
size |
| Fields inherited from class Operator.OperatorModule |
|---|
population, rng |
| Constructor Summary | |
|---|---|
SelectionScheme(RandomNumberGenerator rng,
int size,
Operation op)
Creates a new instance of SelectionScheme |
|
SelectionScheme(RandomNumberGenerator rng,
Operation op)
Creates a new instance of SelectionScheme |
|
| Method Summary | |
|---|---|
Operation |
getOperation()
Get operation that operator performs |
Population |
getPopulation()
Returns the selected population. |
static void |
main(java.lang.String[] Args)
|
void |
perform()
Performs the operation on the population |
void |
setOperation(Operation op)
Set operation that operator performs |
void |
setProperties(java.util.Properties p)
Set properties |
| Methods inherited from class Operator.SourceModule |
|---|
setSize |
| Methods inherited from class Operator.OperatorModule |
|---|
getRNG, setPopulation, setRNG |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SelectionScheme(RandomNumberGenerator rng,
int size,
Operation op)
rng - random number generatorsize - sizeop - operation
public SelectionScheme(RandomNumberGenerator rng,
Operation op)
rng - random number generatorop - operation| Method Detail |
|---|
public void setProperties(java.util.Properties p)
p - object containing propertiespublic void perform()
Module
perform in interface Moduleperform in class SplitOperatorpublic void setOperation(Operation op)
Operator
setOperation in interface OperatorsetOperation in class SplitOperatorop - operationpublic Operation getOperation()
Operator
getOperation in interface OperatorgetOperation in class SplitOperatorpublic Population getPopulation()
getPopulation in class SplitOperatorpublic static void main(java.lang.String[] Args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||