| Package | Description |
|---|---|
| com.agenarisk.api.model |
| Modifier and Type | Method and Description |
|---|---|
Network |
Model.createNetwork(org.json.JSONObject jsonNetwork)
Creates a Network and adds it to this Model.
|
Network |
Model.createNetwork(org.json.JSONObject jsonNetwork,
boolean withTables)
Creates a Network and adds it to this Model.
|
protected static Network |
Network.createNetwork(Model model,
org.json.JSONObject jsonNetwork)
Factory method to be called by a Model object that is trying to add a Network to itself.
|
protected static Network |
Network.createNetwork(Model model,
org.json.JSONObject jsonNetwork,
boolean withTables)
Factory method to be called by a Model object that is trying to add a Network to itself.
|
Network |
Model.createNetwork(String id)
Creates a new empty Network and adds it to this Model.
|
Network |
Model.createNetwork(String id,
String name)
Creates a new empty Network and adds it to this Model.
|
Node |
Network.createNode(org.json.JSONObject jsonNode)
Creates a Node from its JSONObject specification and adds it to this Network.
|
Node |
Network.createNode(org.json.JSONObject jsonNode,
boolean withTables)
Creates a Node from its JSONObject specification and adds it to this Network.
|
Node |
Network.createNode(String id,
Node.Type type)
Creates a Node and adds it to this Network.
|
Node |
Network.createNode(String id,
String name,
Node.Type type)
Creates a Node and adds it to this Network.
|
Map<Id,? extends Identifiable> |
Network.getIdMap(Class<? extends Identifiable> idClassType)
Deprecated.
For internal use only
|
protected void |
Network.regenerateNPTs()
Regenerates Node NPTs in the Network, in descending order of the number of ancestors a Node has, starting from the root(s) of the Network.
Skips simulated and input nodes. |
void |
Network.setId(String id)
Changes the ID of this Network to the provided ID, if the new ID is not already taken.
|
void |
Network.throwIdExistsException(String id)
Deprecated.
For internal use only
|
void |
Network.throwOldIdNullException(String id)
Deprecated.
For internal use only
|
Copyright © 2020. All rights reserved.