| Package | Description |
|---|---|
| com.agenarisk.api.model |
| Modifier and Type | Method and Description |
|---|---|
DataSet |
Model.createDataSet(org.json.JSONObject jsonDataSet)
Creates a DataSet for this Model from JSON data.
|
protected static DataSet |
DataSet.createDataSet(Model model,
org.json.JSONObject jsonDataSet)
Creates a DataSet for the Model from JSON data.
|
protected static DataSet |
DataSet.createDataSet(Model model,
String id)
Factory method to create a DataSet and add it to the given Model.
|
DataSet |
Model.createDataSet(String id)
Creates a new DataSet and adds it to this Model.
|
DataSet |
CalculationResult.getDataSet()
Returns the DataSet to which the CalculationResult belongs to.
|
DataSet |
Observation.getDataSet()
Returns DataSet that contains this Observation.
|
DataSet |
Model.getDataSet(String id)
Looks up and returns a DataSet by its ID.
|
| Modifier and Type | Method and Description |
|---|---|
List<DataSet> |
Model.getDataSetList()
Returns DataSets of this Model as a list
|
Map<String,DataSet> |
Model.getDataSets()
Returns a copy of ID-Network map.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Model.convertToStatic(DataSet dataSet)
Make all states of dynamically discretized nodes static as they currently are in the provided DataSet.
No action will be performed if no nodes are simulated. Any VariableObservations in the DataSet will replace current Node variable defaults and will be replaced from the DataSet observations. |
boolean |
Node.convertToStatic(DataSet dataSet)
Disables simulation and converts dynamic states from the results of the provided DataSet into static permanent states.
Any VariableObservations in the DataSet will replace current Node variable defaults and will be replaced from the DataSet observations. |
protected static CalculationResult |
CalculationResult.getCalculationResult(DataSet dataset,
Node node)
Gets a CalculationResult that reflects the status of the underlying logic structure at resolution time.
|
protected static void |
CalculationResult.loadCalculationResult(DataSet dataSet,
org.json.JSONObject jsonResult)
Loads CalculationResult data from JSON into the underlying logic structure.
|
boolean |
Model.removeDataSet(DataSet dataSet)
Removes the provided DataSet from the model
|
| Modifier and Type | Method and Description |
|---|---|
void |
Model.calculate(Collection<Network> networks,
Collection<DataSet> dataSets,
Model.CalculationFlag... flags)
Triggers propagation in this model for provided Networks and DataSets.
If either is null, all Networks or DataSets will be used instead. |
| Constructor and Description |
|---|
Observation(uk.co.agena.minerva.model.scenario.Observation logicObservation,
DataSet dataSet,
Node node)
Constructor for the observation.
|
VariableObservation(uk.co.agena.minerva.model.scenario.Observation logicObservation,
DataSet dataSet,
Node node)
Constructor for VariableObservation.
|
Copyright © 2022. All rights reserved.