Package modelarium.results
Class EnvironmentResults
java.lang.Object
modelarium.results.ModelElementResults
modelarium.results.EnvironmentResults
A concrete results container for the simulation environment.
Extends ModelElementResults to store and access recorded property
and event values specific to the environment, using its name to simplify queries.
-
Constructor Summary
ConstructorsConstructorDescriptionEnvironmentResults(Environment environment) Constructs a results container for the given environment. -
Method Summary
Modifier and TypeMethodDescriptionReturns the full results object for the environment's attribute sets.getPostEventValues(String attributeSetName, String eventName) Retrieves all recorded trigger states of a post-event from the specified attribute set.getPreEventValues(String attributeSetName, String eventName) Retrieves all recorded trigger states of a pre-event from the specified attribute set.getPropertyValues(String attributeSetName, String propertyName) Retrieves all recorded values of a given property from the specified attribute set.Methods inherited from class modelarium.results.ModelElementResults
disconnectDatabases, getAttributeSetCollectionResults, getAttributeSetCollectionResults, getAttributeSetCollectionSetCount, getPostEventValues, getPreEventValues, getPropertyValues, mergeWith
-
Constructor Details
-
EnvironmentResults
Constructs a results container for the given environment.- Parameters:
environment- the environment whose results are to be stored
-
-
Method Details
-
getPropertyValues
Retrieves all recorded values of a given property from the specified attribute set.- Parameters:
attributeSetName- the name of the attribute setpropertyName- the name of the property- Returns:
- a list of recorded property values
-
getPreEventValues
Retrieves all recorded trigger states of a pre-event from the specified attribute set.- Parameters:
attributeSetName- the name of the attribute seteventName- the name of the event- Returns:
- a list of booleans indicating whether the event was triggered
-
getPostEventValues
Retrieves all recorded trigger states of a post-event from the specified attribute set.- Parameters:
attributeSetName- the name of the attribute seteventName- the name of the event- Returns:
- a list of booleans indicating whether the event was triggered
-
getAttributeSetCollectionResults
Returns the full results object for the environment's attribute sets.- Returns:
- the environment's attribute set collection results
-