|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectswarm.BaseImpl
swarm.simtoolsgui.GUISwarmImpl
ESFrameObserverSwarm
public class ESFrameObserverSwarm
The Observer contains the Model and the graphic widgets
Field Summary | |
---|---|
boolean |
checkMemorySize
displaying memory information on the console |
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 |
ln
|
int |
lnn
|
boolean |
noHistograms
eliminating histograms |
swarm.analysis.EZGraph |
numberOfUnitsGraph
|
swarm.collections.ArrayImpl |
numberOfUnitsGraphArray
|
swarm.analysis.EZGraphC |
numberOfUnitsGraphC
|
boolean |
printMatrixes
activating the print function in MemoryMatrix class |
swarm.analysis.EZGraph |
productionGraph
|
swarm.collections.ArrayImpl |
productionGraphArray
|
float |
ratio1
|
float |
ratio2
|
float |
ratio3
|
swarm.analysis.EZGraph |
ratioGraph
|
swarm.collections.ArrayImpl |
ratioGraphArray
|
int |
stratumNumber
the number of strata in our global model; each stratum is a model |
int |
time
the time |
int |
timeToFinish
the time at which we stop the simulation (if != 0) |
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 |
boolean |
wholeZeroTimeOrdersAreInvisible
do not consider in accounting etc. |
boolean |
writeNumberOfUnitsToFile
send to files the # of units graphs |
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 |
checkMemorySize()
print the memory usage information |
void |
drop()
drop the Observer, but after having dropped the EZGraph |
void |
evaluateRatios()
evaluating ratio1, ratio2, ratio3 for model in stratum 'ln' |
void |
finish()
to finish automatically, if timeToFinish!=0 |
MemoryMatrix |
getMemoryMatrix(int matrixNumber)
return the address of a memory matrix as actually set in stratum 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 stratum 0 model |
void |
printMemoryMatrixNumber(int matrixNumber)
print the content of the memory matrix set in stratum 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 stratumNumber
public int displayFrequency
public int time
public int timeToFinish
public boolean verboseChoice
public boolean wholeZeroTimeOrdersAreInvisible
public boolean writeNumberOfUnitsToFile
public boolean printMatrixes
public boolean checkMemorySize
public swarm.activity.ActionGroup displayActions1
public swarm.activity.ActionGroup displayActions2
public swarm.activity.Schedule displaySchedule
public boolean noHistograms
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.EZGraph numberOfUnitsGraph
public swarm.analysis.EZGraph productionGraph
public swarm.analysis.EZGraph ratioGraph
public swarm.analysis.EZGraphC numberOfUnitsGraphC
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()
buildObjects
in interface swarm.objectbase.Swarm
buildObjects
in class swarm.simtoolsgui.GUISwarmImpl
public java.lang.Object buildActions()
buildActions
in interface swarm.objectbase.Swarm
buildActions
in class swarm.simtoolsgui.GUISwarmImpl
public swarm.activity.Activity activateIn(swarm.objectbase.Swarm swarmContext)
activateIn
in interface swarm.activity.ActionType
activateIn
in interface swarm.objectbase.Swarm
activateIn
in class swarm.simtoolsgui.GUISwarmImpl
public void drop()
drop
in interface swarm.defobj.Drop
drop
in class swarm.simtoolsgui.GUISwarmImpl
public void checkMemorySize()
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)
public void printMemoryMatrixNumber(int matrixNumber)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |