swarm.analysis
Class EZGraphImpl
java.lang.Object
|
+--swarm.analysis.EZGraphImpl
- public class EZGraphImpl
- extends Object
- implements SwarmObjectS, SwarmObject, EZGraphS, EZGraph
A class for easily create graphs..
This class allows the user to easily create graphs of various quantities in the model s/he is investigating. The user first creates the EZGraph, and then creates "Sequences"; (lines) which will appear in the graph. The sequences are generated based on data provided by a single object or a collection of target objects, in reponse to a specified selector. One of the features of the EZGraph is that it will automatically generate average, total, min, max and count sequences without the user having to mess with Averagers amd other low-level classes.
Methods implemented by this class for interface swarm.analysis.EZGraph |
createAverageSequence$withFeedFrom$andSelector,
createCountSequence$withFeedFrom$andSelector,
createMaxSequence$withFeedFrom$andSelector,
createMinSequence$withFeedFrom$andSelector,
createSequence$withFeedFrom$andSelector,
createTotalSequence$withFeedFrom$andSelector,
dropSequence,
getFileName,
getTitle,
outputGraph,
outputToFile,
setRangesXMin$Max,
setRangesYMin$Max,
setScaleModeX$Y,
step,
update |
Methods implemented by this class for interface swarm.defobj.Drop |
drop |
Methods implemented by this class for interface swarm.defobj.DefinedObject |
compare,
describe,
describeID,
getDisplayName,
getTypeName,
getZone,
perform,
perform$with,
perform$with$with,
perform$with$with$with,
respondsTo,
setDisplayName,
xfprint,
xfprintid,
xprint,
xprintid |
EZGraphImpl
public EZGraphImpl()
EZGraphImpl
public EZGraphImpl(ZoneImpl aZone,
String aTitle,
String xl,
String yl)
- Convenience method for creating `graphical' EZGraph instances
EZGraphImpl
public EZGraphImpl(ZoneImpl aZone,
String aFileName)
- Convenience method for creating a non-graphical EZGraph, in this case, the filename is explicitly set by the user
EZGraphImpl
public EZGraphImpl(ZoneImpl aZone,
boolean fileOutputFlag)
- Convenience method for creating a non-graphical EZGraph, the filename is generated from the sequence name
EZGraphImpl
public EZGraphImpl(ZoneImpl aZone)
- Default constructor for Impl class