|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectswarm.BaseImpl
swarm.objectbase.SwarmImpl
ESFrameModelSwarm
The Model contains the Units
Field Summary | |
int |
maxStepLength
the max length of a step in a recipe (in units of time) |
int |
maxStepNumber
the max number of steps to be done to complete an order |
swarm.activity.ActionGroup |
modelActions2
ActionGroup for holding an ordered sequence of action (the numbers of the model action names are the same used in the full jES model, so some are lacking in this version) |
swarm.activity.ActionGroup |
modelActions2b
ActionGroup for holding an ordered sequence of action (the numbers of the model action names are the same used in the full jES model, so some are lacking in this version) |
swarm.activity.ActionGroup |
modelActions2generator
ActionGroup for holding an ordered sequence of action (the numbers of the model action names are the same used in the full jES model, so some are lacking in this version) |
swarm.activity.Schedule |
modelSchedule
the Schedule operating in the Model |
OrderGenerator |
orderGenerator
the order generator |
float |
totalProductionTime
the total production time used by done orders |
float |
totalRecipeLength
the total length of the recipes of the done orders |
int |
totalUnitNumber
the total number of operating Units we are using |
swarm.collections.ListImpl |
unitList
the list of the operating units |
swarm.collections.ListIndex |
unitListIndex
its iterator |
UnitParameters |
unitParameters
the input class for unit parameters |
Constructor Summary | |
ESFrameModelSwarm(swarm.defobj.Zone aZone)
|
Method Summary | |
swarm.activity.Activity |
activateIn(swarm.objectbase.Swarm swarmContext)
Now set up the model's activation. swarmContext indicates where we're being started in - typically, this model is run as a subswarm of an observer swarm. |
java.lang.Object |
buildActions()
Here is where the model schedule is built, the data structures that define the simulation of time in the model. |
java.lang.Object |
buildObjects()
Build the model objects. |
float |
getTimeLengthRatio()
report the ratio totalProductionTime/totalRecipeLength |
java.lang.Object |
getUnitList()
the method returns the list of the units |
void |
setProductionTimeAndRecipeLength(float pt,
float rl)
record total production time and total recipe length |
Methods inherited from class swarm.objectbase.SwarmImpl |
allocIVars, allocIVarsComponent, compare, copyIVars, copyIVarsComponent, describe, describeForEach, describeForEachID, describeID, drop, freeIVars, freeIVarsComponent, getActivity, getCompleteProbeMap, getComponentZone, getDisplayName, getInternalZone, getName, getPageSize, getPopulation, getProbeForVariable, getProbeMap, getSynchronizationType, getTypeName, getZone, perform, perform$with, perform$with$with, perform$with$with$with, respondsTo, setDisplayName, xfprint, xfprintid, xprint, xprintid |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int totalUnitNumber
public int maxStepNumber
public int maxStepLength
public float totalProductionTime
public float totalRecipeLength
public OrderGenerator orderGenerator
public swarm.activity.ActionGroup modelActions2
public swarm.activity.ActionGroup modelActions2b
public swarm.activity.ActionGroup modelActions2generator
public swarm.activity.Schedule modelSchedule
public UnitParameters unitParameters
public swarm.collections.ListImpl unitList
public swarm.collections.ListIndex unitListIndex
Constructor Detail |
public ESFrameModelSwarm(swarm.defobj.Zone aZone)
Method Detail |
public java.lang.Object buildObjects()
public java.lang.Object buildActions()
public swarm.activity.Activity activateIn(swarm.objectbase.Swarm swarmContext)
public java.lang.Object getUnitList()
public void setProductionTimeAndRecipeLength(float pt, float rl)
public float getTimeLengthRatio()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |