Package modelarium.results.readonly
Class ReadOnlyResults
java.lang.Object
modelarium.results.readonly.ReadOnlyResults
Class for providing a read-only view of the results of a model run.
This class wraps the mutable results the model built up during its run so that the run's agent-level and environment-level logs can be inspected without being modifiable.
-
Method Summary
-
Method Details
-
agents
Returns the agent-level results of the model run.- Returns:
- the run's
ReadOnlyResultsForAgentsinstance
-
environment
Returns the environment-level results of the model run.- Returns:
- the run's
ReadOnlyResultsForEnvironmentinstance
-
export
Exports the results of the model to a given export directory- Parameters:
exportDir- the directory to export the results to- Returns:
- the
Pathdirectory containing the exported results
-
export
Exports the results of the model to a given export directory given as aPath- Parameters:
exportPath- the path directory to export the results to- Returns:
- the
Pathdirectory containing the exported results
-