|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--uchicago.src.sim.analysis.SimGraph
|
+--uchicago.src.sim.analysis.SequenceGraph
A graph that displays a connected series of points (a sequence). Encapsulates a sequence statistic class that manages the data. This statistic class can also be set. Typically, a time series updated every tick of the main schedule.
| Field Summary |
| Fields inherited from class uchicago.src.sim.analysis.SimGraph |
chart, f |
| Constructor Summary | |
SequenceGraph(SimModel model)
Deprecated. Constructs a SeqenceGraph with no title. |
|
SequenceGraph(String title,
SimModel model)
Deprecated. Constructs a SequenceGraph with the specified a title and model. |
|
SequenceGraph(String title,
SimModel model,
String fileName,
int fileFormat)
Deprecated. Constructs a SequenceGraph with the specified title, file name, and file format, and model. |
|
| Method Summary | |
void |
addSequence(String name,
Sequence sequence)
Deprecated. Adds the specified sequence with the specified name. |
void |
createAverageSequence(String name,
ArrayList feedFrom,
String methodName)
Deprecated. Creates an Average sequence with the specified name, using data from the specified list attained through the specified method name. |
void |
createSequence(String name,
Object feedFrom,
String methodName)
Deprecated. Creates a sequence with the specified name, using data from the specified object attained through the specified method name. |
Statistics |
getModel()
Deprecated. Returns the model for this SequenceGraph |
void |
record()
Deprecated. Records the new sequence data but do not plot. |
void |
step()
Deprecated. Records and plots the new sequence data on the graph |
void |
writeToFile()
Deprecated. Write the sequence data to a file. |
| Methods inherited from class uchicago.src.sim.analysis.SimGraph |
addDataSource, display, dispose, getChart, setAxisTitles, setFooter, setGraphBackground, setGraphForeground, setHeader, setTitle, setXAxisMax, setXAxisMin, setXAxisMinMax, setXAxisTitle, setYAxisMax, setYAxisMin, setYAxisMinMax, setYAxisTitle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SequenceGraph(SimModel model)
public SequenceGraph(String title,
SimModel model)
title - the title of the graphmodel - the model
public SequenceGraph(String title,
SimModel model,
String fileName,
int fileFormat)
title - the title of the graphmodel - the modelfileName - the name of the file to write the sequence data tofileFormat - the format of the file - i.e. Statistics.CSV| Method Detail |
public void createSequence(String name,
Object feedFrom,
String methodName)
name - of the sequencefeedFrom - the object from which to collect the sequence datamethodName - the name of the method to call on the object to get the
data. This method must return a number (int etc.) or a Number (Integer etc.)
public void addSequence(String name,
Sequence sequence)
name - the name of the sequencesequence - the sequence to add
public void createAverageSequence(String name,
ArrayList feedFrom,
String methodName)
name - of the sequencefeedFrom - the list from which to collect the sequence datamethodName - the name of the method to call on the object to get the
data. This method must return a number (int etc.) or a Number (Integer etc.)public Statistics getModel()
getModel in class SimGraphpublic void step()
public void record()
public void writeToFile()
|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||