|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--neosim.implementation.PopulationNodeImpl | +--neosim.implementation.PopulationImpl | +--neosim.implementation.PopulationBuilderImpl
A population builder builds a number of entities of a given class and initialises each one according to its index in the population.
Constructor Summary | |
PopulationBuilderImpl(java.lang.String name,
PopulationNode parent,
int size,
EntityClass ec,
EntityInit ei)
Build size instances of entity class ec. |
Method Summary | |
EntityClass |
getEntityClass()
Return the entity class of the population |
EntityInit |
getEntityInit()
Return the entity initialisation method |
Methods inherited from class neosim.implementation.PopulationImpl |
addLocalMember,
addMember,
getEntityID,
getID,
getIndex,
getLocalMembers,
getMemberList,
getNumEnts,
isLeaf,
isMember |
Methods inherited from class neosim.implementation.PopulationNodeImpl |
getName,
getParent |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public PopulationBuilderImpl(java.lang.String name, PopulationNode parent, int size, EntityClass ec, EntityInit ei)
name
- the population nameec
- the class of entities to buildsize
- the number of entities to buildei
- the initialisation to apply to each entityMethod Detail |
public EntityInit getEntityInit()
public EntityClass getEntityClass()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |