|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectswarm.BaseImpl
swarm.simtoolsgui.GUISwarmImpl
ESFrameObserverSwarm
The Observer contains the Model and the graphic widgets
Field Summary | |
swarm.activity.ActionGroup |
displayActions1
two ActionGroup for sequence of GUI events |
swarm.activity.ActionGroup |
displayActions2
two ActionGroup for sequence of GUI events |
int |
displayFrequency
update frequency |
swarm.activity.Schedule |
displaySchedule
the single Schedule instance |
ESFrameModelSwarm |
eSFrameModelSwarm
|
swarm.collections.ArrayImpl |
eSFrameModelSwarmArray
the Swarm we are observing |
int |
layerNumber
the number of layers in our global model; each layer is a model |
int |
ln
|
int |
lnn
|
swarm.analysis.EZGraphImpl |
numberOfUnitsGraph
|
swarm.collections.ArrayImpl |
numberOfUnitsGraphArray
|
boolean |
printMatrixes
activating the print function in MemoryMatrix class |
swarm.analysis.EZGraphImpl |
productionGraph
|
swarm.collections.ArrayImpl |
productionGraphArray
|
float |
ratio1
|
float |
ratio2
|
float |
ratio3
|
swarm.analysis.EZGraphImpl |
ratioGraph
|
swarm.collections.ArrayImpl |
ratioGraphArray
|
int |
time
the time |
int |
timeToFinish
the time at which we stop the simulation (if ! |
swarm.space.Value2dDisplay |
unitActivityDisplay
|
swarm.collections.ArrayImpl |
unitActivityDisplayArray
|
swarm.space.Object2dDisplay |
unitDisplay
|
swarm.collections.ArrayImpl |
unitDisplayArray
|
swarm.gui.ZoomRaster |
unitRaster
|
swarm.collections.ArrayImpl |
unitRasterArray
our graphics |
boolean |
verboseChoice
displaying all messages on the console |
int |
zoomFactor
|
Fields inherited from class swarm.simtoolsgui.GUISwarmImpl |
actionCache, controlPanel |
Constructor Summary | |
ESFrameObserverSwarm(swarm.defobj.Zone aZone)
Constructor for class |
Method Summary | |
java.lang.Object |
_unitRasterDeath_(java.lang.Object caller)
handling the raster |
swarm.activity.Activity |
activateIn(swarm.objectbase.Swarm swarmContext)
activateIn: - activate the schedules so they're ready to run. |
java.lang.Object |
buildActions()
Create the actions necessary for the simulation. |
java.lang.Object |
buildObjects()
Create the objects used to display the model. |
void |
drop()
drop the Observer, but after having dropped the EZGraph |
void |
evaluateRatios()
evaluating ratio1, ratio2, ratio3 for model in layer 'ln' |
void |
finish()
to finish automatically, if timeToFinish! |
MemoryMatrix |
getMemoryMatrix(int matrixNumber)
return the address of a memory matrix as actually set in layer 0 model |
float |
getRatio1()
returning ratio1 (global / potential production) |
float |
getRatio2()
returning ratio2 (global / potential production) |
float |
getRatio3()
returning ratio3 (final / global production) |
int |
getTotalMemoryMatrixNumber()
returning the number of memory matrixes as actually set in layer 0 model |
void |
setTime()
setting the time of the simulation |
Methods inherited from class swarm.simtoolsgui.GUISwarmImpl |
allocIVars, allocIVarsComponent, compare, copyIVars, copyIVarsComponent, describe, describeForEach, describeForEachID, describeID, freeIVars, freeIVarsComponent, getActionCache, getActivity, getCompleteProbeMap, getComponentZone, getControlPanel, getDisplayName, getInternalZone, getName, getPageSize, getPopulation, getProbeForVariable, getProbeMap, getSynchronizationType, getTypeName, getZone, go, 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 layerNumber
public int displayFrequency
public int time
public int timeToFinish
public boolean verboseChoice
public boolean printMatrixes
public swarm.activity.ActionGroup displayActions1
public swarm.activity.ActionGroup displayActions2
public swarm.activity.Schedule displaySchedule
public swarm.collections.ArrayImpl eSFrameModelSwarmArray
public ESFrameModelSwarm eSFrameModelSwarm
public swarm.collections.ArrayImpl unitRasterArray
public swarm.collections.ArrayImpl unitDisplayArray
public swarm.collections.ArrayImpl unitActivityDisplayArray
public swarm.collections.ArrayImpl numberOfUnitsGraphArray
public swarm.collections.ArrayImpl productionGraphArray
public swarm.collections.ArrayImpl ratioGraphArray
public swarm.analysis.EZGraphImpl numberOfUnitsGraph
public swarm.analysis.EZGraphImpl productionGraph
public swarm.analysis.EZGraphImpl ratioGraph
public float ratio1
public float ratio2
public float ratio3
public swarm.gui.ZoomRaster unitRaster
public swarm.space.Object2dDisplay unitDisplay
public int zoomFactor
public swarm.space.Value2dDisplay unitActivityDisplay
public int ln
public int lnn
Constructor Detail |
public ESFrameObserverSwarm(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 void drop()
public void finish()
public java.lang.Object _unitRasterDeath_(java.lang.Object caller)
public void evaluateRatios()
public float getRatio1()
public float getRatio2()
public float getRatio3()
public void setTime()
public int getTotalMemoryMatrixNumber()
public MemoryMatrix getMemoryMatrix(int matrixNumber)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |