|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectOperator.OperatorModule
Operator.SourceModule
public abstract class SourceModule
Abstract class used for a source module. Contains the size of the source.
| Field Summary | |
|---|---|
protected int |
size
|
| Fields inherited from class Operator.OperatorModule |
|---|
population, rng |
| Constructor Summary | |
|---|---|
SourceModule()
Creates a new instance of SourceModule |
|
SourceModule(RandomNumberGenerator rng,
int size)
Creates a new instance of SourceModule |
|
SourceModule(RandomNumberGenerator rng,
java.util.Properties p)
Creates a new instance of SourceModule |
|
| Method Summary | |
|---|---|
abstract Population |
getPopulation()
|
void |
setSize(int size)
Set the size |
| Methods inherited from class Operator.OperatorModule |
|---|
getRNG, perform, setPopulation, setRNG |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface Parameter.ParameterI |
|---|
setProperties |
| Methods inherited from interface Operator.Operator |
|---|
getOperation, setOperation |
| Field Detail |
|---|
protected int size
| Constructor Detail |
|---|
public SourceModule(RandomNumberGenerator rng,
int size)
rng - random number generatorsize - size of sourcepublic SourceModule()
public SourceModule(RandomNumberGenerator rng,
java.util.Properties p)
rng - random number generatorp - properies| Method Detail |
|---|
public abstract Population getPopulation()
public void setSize(int size)
size - The integer size
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||