| Package | Description |
|---|---|
| com.agenarisk.api.model |
| Modifier and Type | Method and Description |
|---|---|
protected void |
Model.absorb(org.json.JSONObject json)
Creates all the Model structure from the provided JSONObject.
|
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.
|
Link |
Model.createLink(String sourceNetworkId,
String sourceNodeId,
String targetNetworkId,
String targetNodeId,
String stateLabel)
Creates a CrossNetworkLink of type CrossNetworkLink.Type.State that passes the given state from source Node to target Node.
|
static Model |
Model.createModel(org.json.JSONObject json)
Factory method to create an instance of a Model from provided JSONObject.
|
static Model |
Model.createModel(uk.co.agena.minerva.model.Model api1Model)
Creates a Model from a Minerva Model object.
|
boolean |
Model.factorize()
Performs binary factorization on the model if there are any simulation nodes with more than 3 parents.
This involves the model being recreated from scratch and all previously held references to pre-existing objects in the Model will become invalid and should be released. |
Map<Id,? extends Identifiable> |
Model.getIdMap(Class<? extends Identifiable> idClassType)
Deprecated.
For internal use only
|
static Model |
Model.loadModel(String path)
Loads a Model from provided path
|
void |
Model.throwIdExistsException(String id)
Deprecated.
For internal use only
|
void |
Model.throwOldIdNullException(String id)
Deprecated.
For internal use only
|
Copyright © 2021. All rights reserved.