|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cilib.entity.topologies.ECTopologyHolder
public class ECTopologyHolder
Constructor Summary | |
---|---|
ECTopologyHolder()
|
|
ECTopologyHolder(Topology<? extends Entity> topology)
|
Method Summary | |
---|---|
void |
add(Entity entity)
Add a child to the holder? |
void |
add(Entity entity,
boolean modifiable)
Add the current provided entity to either the modifiable and unmodifiable
lists, maintained within this holder. |
void |
addAll(List<Entity> entities)
plural version of add() |
List<? extends Entity> |
getModifiable()
get the modifiable list of entities. |
Topology<Entity> |
getOffspring()
|
Topology<? extends Entity> |
getTopology()
|
List<? extends Entity> |
getUnmodifiable()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ECTopologyHolder()
public ECTopologyHolder(Topology<? extends Entity> topology)
Method Detail |
---|
public Topology<? extends Entity> getTopology()
getTopology
in interface TopologyHolder
public void add(Entity entity)
TopologyHolder
add
in interface TopologyHolder
public void addAll(List<Entity> entities)
TopologyHolder
addAll
in interface TopologyHolder
public Topology<Entity> getOffspring()
public List<? extends Entity> getModifiable()
TopologyHolder
getModifiable
in interface TopologyHolder
public void add(Entity entity, boolean modifiable)
entity
to either the modifiable
and unmodifiable
lists, maintained within this holder.
add
in interface TopologyHolder
entity
- The entity insance to add.modifiable
- If true
add to the modifiable list, else add to the unmodifiable list.public List<? extends Entity> getUnmodifiable()
getUnmodifiable
in interface TopologyHolder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |