|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cilib.algorithm.initialisation.PopulationInitialisationStrategy net.sourceforge.cilib.algorithm.initialisation.SpecializedPopluationInitialisationStrategy
public class SpecializedPopluationInitialisationStrategy
Initialise a specialised collection of entity objects.
Field Summary |
---|
Fields inherited from class net.sourceforge.cilib.algorithm.initialisation.PopulationInitialisationStrategy |
---|
entityNumber |
Constructor Summary | |
---|---|
SpecializedPopluationInitialisationStrategy()
Create an instance of SpecializedPopluationInitialisationStrategy . |
|
SpecializedPopluationInitialisationStrategy(SpecializedPopluationInitialisationStrategy copy)
Create a copy of the provided instance. |
Method Summary | |
---|---|
SpecializedPopluationInitialisationStrategy |
getClone()
Create a cloned copy of the current object and return it. |
Entity |
getEntityType()
Get the current entity type. |
void |
initialise(Topology topology,
OptimisationProblem problem)
Initialise the Entity collection based on the given
Topology and Problem. |
void |
setEntityType(Entity entity)
Set the entity type to use. |
Methods inherited from class net.sourceforge.cilib.algorithm.initialisation.PopulationInitialisationStrategy |
---|
getEntityNumber, setEntityNumber |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpecializedPopluationInitialisationStrategy()
SpecializedPopluationInitialisationStrategy
.
public SpecializedPopluationInitialisationStrategy(SpecializedPopluationInitialisationStrategy copy)
copy
- The instance to copy.Method Detail |
---|
public SpecializedPopluationInitialisationStrategy getClone()
getClone
in interface Cloneable
getClone
in class PopulationInitialisationStrategy
Object.clone()
public Entity getEntityType()
getEntityType
in class PopulationInitialisationStrategy
public void initialise(Topology topology, OptimisationProblem problem)
Entity
collection based on the given
Topology and Problem.
initialise
in class PopulationInitialisationStrategy
topology
- The topology to initialise with Entity objectsproblem
- The Problem to based the initialisation onpublic void setEntityType(Entity entity)
setEntityType
in class PopulationInitialisationStrategy
entity
- The entity type to use.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |