Skip navigation links
A B C D E F G H I J L M N O P R S T U V W X 

A

absorb(JSONObject) - Method in class com.agenarisk.api.model.Model
Creates all the Model structure from the provided JSONObject.
AdapterException - Exception in com.agenarisk.api.exception
 
AdapterException(String) - Constructor for exception com.agenarisk.api.exception.AdapterException
 
AdapterException(String, Throwable) - Constructor for exception com.agenarisk.api.exception.AdapterException
 
addLink(Link) - Method in class com.agenarisk.api.model.Node
Deprecated.
For internal use only
addMessage(Advisory.AdvisoryMessage) - Method in class com.agenarisk.api.util.Advisory.AdvisoryGroup
Adds an AdvisoryMessage to this AdvisoryGroup.
addMessageIfLinked(String) - Static method in class com.agenarisk.api.util.Advisory
Returns true if Thread.currentThread() is linked to an AdvisoryGroup (also creates AdvisoryMessage and adds it to that group).
Otherwise returns false.
Advisory - Class in com.agenarisk.api.util
Advisory class allows to recover in recoverable situations and compile advisory messages instead of throwing exceptions.
Basic scenario: when loading a model in AgenaRisk Desktop, we'd rather load even invalid node tables and let the user sort them out, than to fail model load with an error.
Advisory class is thread-safe.
Advisory() - Constructor for class com.agenarisk.api.util.Advisory
 
Advisory.AdvisoryGroup - Class in com.agenarisk.api.util
AdvisoryGroup instance is associated with a number of Threads and is abstractly associated with some particular job (which is potentially multi-threaded).
AdvisoryGroup class is thread-safe.
Advisory.AdvisoryMessage - Class in com.agenarisk.api.util
AdvisoryMessage is an abstraction of a message with a possible Throwable cause.
AdvisoryGroup(Object) - Constructor for class com.agenarisk.api.util.Advisory.AdvisoryGroup
 
AdvisoryMessage(String, Throwable) - Constructor for class com.agenarisk.api.util.Advisory.AdvisoryMessage
Constructor for AdvisoryMessage.
AdvisoryMessage(String) - Constructor for class com.agenarisk.api.util.Advisory.AdvisoryMessage
Constructor for AdvisoryMessage.
AgenaRiskException - Exception in com.agenarisk.api.exception
 
AgenaRiskException(String) - Constructor for exception com.agenarisk.api.exception.AgenaRiskException
 
AgenaRiskException(String, Throwable) - Constructor for exception com.agenarisk.api.exception.AgenaRiskException
 
AgenaRiskRuntimeException - Exception in com.agenarisk.api.exception
 
AgenaRiskRuntimeException(String) - Constructor for exception com.agenarisk.api.exception.AgenaRiskRuntimeException
 
AgenaRiskRuntimeException(String, Throwable) - Constructor for exception com.agenarisk.api.exception.AgenaRiskRuntimeException
 
Audit - Class in com.agenarisk.api.io.stub
This is a stub class that only contains field values for input/output to XML and JSON format.
Audit() - Constructor for class com.agenarisk.api.io.stub.Audit
 
Audit.Field - Enum in com.agenarisk.api.io.stub
This is set of fields for input/output to XML and JSON format

B

buildResponseCurveGraphs() - Method in class com.agenarisk.api.tools.SensitivityAnalyser
Compiles data for response curve graphs.
Only allowed when target node is Numeric Interval.
A graph is generated for each sensitivity node and selected summary statistic.
Will clip data points outside of lower and upper sensitivity percentile values.
X axis is sensitivity node states.
Y axis is summary statistic values.
buildTables() - Method in class com.agenarisk.api.tools.SensitivityAnalyser
Compiles Sensitivity Analysis data as tables.
A table is generated for each sensitivity node.
Row per sensitivity state.
Column per summary statistic (if the target node is numeric continuous) or target state (if the target node is discrete).
First item in a row is a sensitivity state.
Positive infinity will appear as "Infinity", negative infinity as "-Infinity" and Double.NaN as "NaN", all wrapped in quotes.
buildTornadoGraphs() - Method in class com.agenarisk.api.tools.SensitivityAnalyser
Compiles Sensitivity Analysis data as tornado graphs.
Graphs are created for each selected summary statistic.

C

CACHE_NPTS - Static variable in class com.agenarisk.api.io.JSONAdapter
 
calculate() - Method in class com.agenarisk.api.model.Model
Triggers propagation in this model for all Networks and DataSets.
calculate(Collection<DataSet>) - Method in class com.agenarisk.api.model.Model
Triggers propagation in this model for provided DataSets and all Networks.
CalculationException - Exception in com.agenarisk.api.exception
Thrown when a calculation fails.
CalculationException(String) - Constructor for exception com.agenarisk.api.exception.CalculationException
 
CalculationException(String, Throwable) - Constructor for exception com.agenarisk.api.exception.CalculationException
 
CalculationResult - Class in com.agenarisk.api.model
CalculationResult class represents a view of the Node's calculation results.
CalculationResult.Field - Enum in com.agenarisk.api.model
This is set of fields for input/output to XML and JSON format
changeContainedId(I, String) - Method in interface com.agenarisk.api.model.interfaces.IdContainer
Deprecated.
For internal use only. You will break referential integrity by using this method directly.
clearAllData() - Method in class com.agenarisk.api.model.DataSet
Clears Observations, VariableObservations and CalculationResults data from this DataSet.
clearObservation(Node) - Method in class com.agenarisk.api.model.DataSet
Clears an observation from a Node if it exists.
clearObservations() - Method in class com.agenarisk.api.model.DataSet
Clears all non-variable observations from this DataSet for all Networks and Nodes
clearVariableObservation(Node, String) - Method in class com.agenarisk.api.model.DataSet
Clears the VariableObservation of the provided name in this DataSet for the provided Node.
clearVariableObservations(Node) - Method in class com.agenarisk.api.model.DataSet
Clears all VariableObservations from this DataSet for the provided Node.
clearVariableObservations() - Method in class com.agenarisk.api.model.DataSet
Clears all VariableObservations from this DataSet for all Networks and Nodes.
com.agenarisk.api.exception - package com.agenarisk.api.exception
 
com.agenarisk.api.io - package com.agenarisk.api.io
 
com.agenarisk.api.io.stub - package com.agenarisk.api.io.stub
 
com.agenarisk.api.model - package com.agenarisk.api.model
 
com.agenarisk.api.model.field - package com.agenarisk.api.model.field
 
com.agenarisk.api.model.interfaces - package com.agenarisk.api.model.interfaces
 
com.agenarisk.api.tools - package com.agenarisk.api.tools
 
com.agenarisk.api.util - package com.agenarisk.api.util
 
compareTo(Id) - Method in class com.agenarisk.api.model.field.Id
Compares two ID objects by first using case-insensitive String comparison of their respective values.
compareTo(Link) - Method in class com.agenarisk.api.model.Link
Compares this Link object to another based on its underlying logic network and node IDs.
compareTo(Network) - Method in class com.agenarisk.api.model.Network
Compares this Network object to another based on the Id of this object.
compareTo(Node) - Method in class com.agenarisk.api.model.Node
Compares this Node object to another based on the Id of this object.
compileAdvisoryMessages(Advisory.AdvisoryGroup) - Static method in class com.agenarisk.api.util.Advisory
Compiles a list of AdvisoryMessage texts, including messages of any Throwable causes of those AdvisoryMessages, for the provided AdvisoryGroup.
compileAdvisoryMessagesForCurrentThreadGroup() - Static method in class com.agenarisk.api.util.Advisory
Compiles a list of AdvisoryMessage texts, including messages of any Throwable causes of those AdvisoryMessages, for the AdvisoryGroup linked to Thread.currentThread().
computeLabel(ExtendedNode, ExtendedState) - Static method in class com.agenarisk.api.model.State
Computes a label for a logical state.
convertTo2DArray(JSONObject, String, String) - Static method in class com.agenarisk.api.util.JSONUtils
Converts an array of mixed objects into a 2D JSONArray.
convertToJSONArray(JSONObject, String, String) - Static method in class com.agenarisk.api.util.JSONUtils
Omits the key `childKey` and puts its contents directly under the `parentKey` as a JSONArray.
convertToSimulated() - Method in class com.agenarisk.api.model.Node
Enables calculation simulation for the Node (only possible for ContinuousInterval or IntegerInterval nodes).
convertToStatic(DataSet) - Method in class com.agenarisk.api.model.Model
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.
convertToStatic(DataSet) - Method in class com.agenarisk.api.model.Node
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.
createCrossNetworkLink(Node, Node, CrossNetworkLink.Type, String) - Static method in class com.agenarisk.api.model.CrossNetworkLink
Factory method to create a CrossNetworkLink instance.
createDataSet(Model, String) - Static method in class com.agenarisk.api.model.DataSet
Factory method to create a DataSet and add it to the given Model.
createDataSet(Model, JSONObject) - Static method in class com.agenarisk.api.model.DataSet
Creates a DataSet for the Model from JSON data.
createDataSet(String) - Method in class com.agenarisk.api.model.Model
Creates a new DataSet and adds it to this Model.
createDataSet(JSONObject) - Method in class com.agenarisk.api.model.Model
Creates a DataSet for this Model from JSON data.
createLink(Node, Node) - Static method in class com.agenarisk.api.model.Link
Creates a Link object without manipulating the nodes themselves.
createLink(Node, Node, CrossNetworkLink.Type) - Method in class com.agenarisk.api.model.Model
Creates a Link between two nodes in same or different Networks.
createLink(String, String, String, String, CrossNetworkLink.Type) - Method in class com.agenarisk.api.model.Model
Creates a CrossNetworkLink of given Type.
createLink(Node, Node, State) - Method in class com.agenarisk.api.model.Model
Creates a CrossNetworkLink of type CrossNetworkLink.Type.State that passes the given state from source Node to target Node.
createLink(String, String, String, String, String) - Method in class com.agenarisk.api.model.Model
Creates a CrossNetworkLink of type CrossNetworkLink.Type.State that passes the given state from source Node to target Node.
createLogicLink() - Method in class com.agenarisk.api.model.CrossNetworkLink
This will create a link in the underlying logic.
createLogicLink() - Method in class com.agenarisk.api.model.Link
This will create a link in the underlying logic.
createMissingAttrMessage(JSONException) - Static method in class com.agenarisk.api.util.JSONUtils
This is a helper function to create a message for a JSONException that is formatted as suitable for display to a user.
createModel() - Static method in class com.agenarisk.api.model.Model
Factory method to create an empty instance of a Model class.
createModel(Model) - Static method in class com.agenarisk.api.model.Model
Creates a Model from a Minerva Model object.
createModel(JSONObject) - Static method in class com.agenarisk.api.model.Model
Factory method to create an instance of a Model from provided JSONObject.
createNetwork(JSONObject) - Method in class com.agenarisk.api.model.Model
Creates a Network and adds it to this Model.
createNetwork(JSONObject, boolean) - Method in class com.agenarisk.api.model.Model
Creates a Network and adds it to this Model.
createNetwork(String) - Method in class com.agenarisk.api.model.Model
Creates a new empty Network and adds it to this Model.
createNetwork(String, String) - Method in class com.agenarisk.api.model.Model
Creates a new empty Network and adds it to this Model.
createNetwork(Model, String, String) - Static method in class com.agenarisk.api.model.Network
Factory method to be called by a Model object that is trying to add a Network to itself.
createNetwork(Model, JSONObject) - Static method in class com.agenarisk.api.model.Network
Factory method to be called by a Model object that is trying to add a Network to itself.
createNetwork(Model, JSONObject, boolean) - Static method in class com.agenarisk.api.model.Network
Factory method to be called by a Model object that is trying to add a Network to itself.
createNode(String, String, Node.Type) - Method in class com.agenarisk.api.model.Network
Creates a Node and adds it to this Network.
createNode(String, Node.Type) - Method in class com.agenarisk.api.model.Network
Creates a Node and adds it to this Network.
createNode(JSONObject, boolean) - Method in class com.agenarisk.api.model.Network
Creates a Node from its JSONObject specification and adds it to this Network.
createNode(JSONObject) - Method in class com.agenarisk.api.model.Network
Creates a Node from its JSONObject specification and adds it to this Network.
createNode(Network, String, String, Node.Type) - Static method in class com.agenarisk.api.model.Node
Factory method to be called by a Network object that is trying to add a Node to itself.
createNode(Network, JSONObject) - Static method in class com.agenarisk.api.model.Node
Factory method to create a Node for use by the Network class.
createNode(Network, JSONObject, boolean) - Static method in class com.agenarisk.api.model.Node
Factory method to create a Node for use by the Network class.
createState(Node, String) - Static method in class com.agenarisk.api.model.State
Creates a State instance for the given Node with the given Label.
createTemplate(Node.Type) - Static method in class com.agenarisk.api.model.NodeTemplate
 
CrossNetworkLink - Class in com.agenarisk.api.model
CrossNetworkLink represents a link between Nodes in different Networks.
CrossNetworkLink.Field - Enum in com.agenarisk.api.model
This is set of fields for input/output to XML and JSON format
CrossNetworkLink.Type - Enum in com.agenarisk.api.model
Possible types of data that the Link will pass

D

DataSet - Class in com.agenarisk.api.model
DataSet class represents an equivalent to a Scenario in AgenaRisk Desktop or Scenario in AgenaRisk Java API v1.
DataSet.Field - Enum in com.agenarisk.api.model
This is set of fields for input/output to XML and JSON format
DataSetException - Exception in com.agenarisk.api.exception
 
DataSetException(String) - Constructor for exception com.agenarisk.api.exception.DataSetException
 
DataSetException(String, Throwable) - Constructor for exception com.agenarisk.api.exception.DataSetException
 
destroy(Advisory.AdvisoryGroup) - Static method in class com.agenarisk.api.util.Advisory
Destroys an AdvisoryGroup and breaks links to other objects.
destroyLogicLink() - Method in class com.agenarisk.api.model.CrossNetworkLink
Destroys the underlying logic link.
destroyLogicLink() - Method in class com.agenarisk.api.model.Link
Destroys the underlying logic link
Has no effect if the underlying logical network does not contain either of the nodes.

E

equals(Object) - Method in class com.agenarisk.api.model.field.Id
Compares this and specified objects.
equals(Object) - Method in class com.agenarisk.api.model.Link
Checks equality of a given object to this Link.
equals(Object) - Method in class com.agenarisk.api.model.Network
Checks equality of a given object to this Network.
equals(Object) - Method in class com.agenarisk.api.model.Node
Checks equality of a given object to this Node.
equalsIgnoreCase(JSONObject, JSONObject) - Static method in class com.agenarisk.api.util.JSONUtils
Checks for deep equality of two JSONObjects, resolving elements that are JSONObjects or JSONArrays recursively.
equalsIgnoreCase(JSONArray, JSONArray) - Static method in class com.agenarisk.api.util.JSONUtils
Checks for deep equality of two JSONArrays, resolving elements that are JSONObjects or JSONArrays recursively.
export(Model.ExportFlags...) - Method in class com.agenarisk.api.model.Model
Returns the Model as a minimal JSON.
Keeps only elements essential for a clean calculation.
extractJSONObject(String) - Static method in class com.agenarisk.api.io.FileAdapter
Reads the content of the file at the provided path.It checks whether the content begins as JSON or XML and will try to read it as such.
extractNPTColumns(JSONArray) - Static method in class com.agenarisk.api.model.NodeConfiguration
NPT in JSON is given by rows, while ExtendedNode expects an array of columns, so we will need to invert it.

F

factorize() - Method in class com.agenarisk.api.model.Model
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.
FileAdapter - Class in com.agenarisk.api.io
FileAdapter is a helper class for AgenaRisk API to abstract file I/O from other components.
FileAdapter() - Constructor for class com.agenarisk.api.io.FileAdapter
 
FileIOException - Exception in com.agenarisk.api.exception
 
FileIOException(String) - Constructor for exception com.agenarisk.api.exception.FileIOException
 
FileIOException(String, Throwable) - Constructor for exception com.agenarisk.api.exception.FileIOException
 
fromJson(JSONObject) - Method in class com.agenarisk.api.model.Settings
Applies Model settings from JSON.

G

generateTableFromRows(Double[][]) - Static method in class com.agenarisk.api.model.NodeTemplate
 
getAncestors() - Method in class com.agenarisk.api.model.Node
Builds and returns a set of ancestors for this Node.
Does not include itself.
Does not follow cross-network links (only includes Nodes in the same Network)
getAvailableDataSetId(String) - Method in class com.agenarisk.api.model.Model
Generates a new DataSet ID that is guaranteed to be available at the return time.
getCalculationResult(DataSet, Node) - Static method in class com.agenarisk.api.model.CalculationResult
Gets a CalculationResult that reflects the status of the underlying logic structure at resolution time.
getCalculationResult(Node) - Method in class com.agenarisk.api.model.DataSet
Returns the CalculationResult for the given Node.
getCalculationResult() - Method in class com.agenarisk.api.model.ResultValue
Gets the CalculationResult.
getCalculationResults() - Method in class com.agenarisk.api.model.DataSet
Gets all CalculationResults for all Nodes for this DataSet.
getCalculationResults(Network) - Method in class com.agenarisk.api.model.DataSet
Maps nodes to calculation results in the given network in this data set.
getCause() - Method in class com.agenarisk.api.util.Advisory.AdvisoryMessage
Getter for the Throwable cause.
getChildren() - Method in interface com.agenarisk.api.model.interfaces.Networked
Builds and returns a set of children, which is valid at the time of request.
getChildren() - Method in class com.agenarisk.api.model.Network
Builds and returns a set of Networks, which are children of this Network.
getChildren() - Method in class com.agenarisk.api.model.Node
Builds and returns a set of Node's children, which is valid at the time of request.
getConfidenceInterval() - Method in class com.agenarisk.api.model.CalculationResult
Gets confidence interval value for this result
getConfig() - Method in class com.agenarisk.api.tools.SensitivityAnalyser
Compiles an effective configuration of this analysis and returns it as a JSON.
getConvergence() - Method in class com.agenarisk.api.model.Settings
Gets simulation entropy error convergence threshold.
getCurrentThreadGroup() - Static method in class com.agenarisk.api.util.Advisory
Returns AdvisoryGroup to which Thread.currentThread() is linked to, or null.
getDataSet() - Method in class com.agenarisk.api.model.CalculationResult
Returns the DataSet to which the CalculationResult belongs to.
getDataSet(String) - Method in class com.agenarisk.api.model.Model
Looks up and returns a DataSet by its ID.
getDataSet() - Method in class com.agenarisk.api.model.Observation
Returns DataSet that contains this Observation.
getDataSetIndex() - Method in class com.agenarisk.api.model.DataSet
Gets the index of corresponding logic scenario in the underlying logical model structure
getDataSetList() - Method in class com.agenarisk.api.model.Model
Returns DataSets of this Model as a list
getDataSets() - Method in class com.agenarisk.api.model.Model
Returns a copy of ID-Network map.
getDescendants() - Method in class com.agenarisk.api.model.Node
Builds and returns a set of descendants for this Node.
Does not include itself.
Does not follow cross-network links (only includes Nodes in the same Network)
getDescription() - Method in interface com.agenarisk.api.model.interfaces.Named
Gets the description of this Named object
getDescription() - Method in class com.agenarisk.api.model.Network
Gets the description of this Network.
getDescription() - Method in class com.agenarisk.api.model.Node
Gets the description of this node
getEntries() - Method in class com.agenarisk.api.model.Observation
Returns a map of observation entries.
getEntropy() - Method in class com.agenarisk.api.model.CalculationResult
Gets entropy error value for this result
getFromNode() - Method in class com.agenarisk.api.model.Link
Returns the source Link Node.
getFullReport() - Method in class com.agenarisk.api.tools.SensitivityAnalyser
Generates response curve graphs, tables and tornado graphs.
Also includes full JSON configuration for this analysis.
getGroupByKey(Object) - Static method in class com.agenarisk.api.util.Advisory
Returns an AdvisoryGroup instance for the provided key.
If no AdvisoryGroup exists for this key, it is created and then returned.
getGroupByThread(Thread) - Static method in class com.agenarisk.api.util.Advisory
Returns AdvisoryGroup to which the provided Thread is linked to is linked to, or null.
getGroupThreads() - Method in class com.agenarisk.api.util.Advisory.AdvisoryGroup
Returns the Set of Threads linked to this AdvisoryGroup.
Warning: modifying this Set directly will affect the workings of the Advisory and is NOT recommended.
getId() - Method in class com.agenarisk.api.model.DataSet
Gets the ID of this DataSet.
getId() - Method in interface com.agenarisk.api.model.interfaces.Identifiable
Returns the ID of the object.
getId() - Method in class com.agenarisk.api.model.Network
Gets the ID of this Network.
getId() - Method in class com.agenarisk.api.model.Node
Gets the ID of this Node.
getIdMap(Class<? extends Identifiable>) - Method in interface com.agenarisk.api.model.interfaces.IdContainer
Returns the map of identifiable items based on.
getIdMap(Class<? extends Identifiable>) - Method in class com.agenarisk.api.model.Model
Deprecated.
For internal use only
getIdMap(Class<? extends Identifiable>) - Method in class com.agenarisk.api.model.Network
Deprecated.
For internal use only
getIterations() - Method in class com.agenarisk.api.model.Settings
Returns maximum number of iterations during model calculation.
getJSON() - Method in class com.agenarisk.api.model.NodeTemplate
 
getJsonAudit() - Method in class com.agenarisk.api.model.Model
Returns audit stored as JSON
getJsonGraphics() - Method in class com.agenarisk.api.model.Model
Returns model graphics stored as JSON
getJsonPictures() - Method in class com.agenarisk.api.model.Model
Returns Risk Map pictures stored as JSON
getJsonTexts() - Method in class com.agenarisk.api.model.Model
Returns Risk Map texts stored as JSON
getKey() - Method in class com.agenarisk.api.util.Advisory.AdvisoryGroup
Getter for AdvisoryGroup key
getLabel() - Method in class com.agenarisk.api.model.ResultValue
Gets the entry label.
getLabel() - Method in class com.agenarisk.api.model.State
Gets the state's label.
getLinksIn() - Method in interface com.agenarisk.api.model.interfaces.Networked
Returns a copy of the list of incoming Links.
getLinksIn() - Method in class com.agenarisk.api.model.Network
Returns a copy of the incoming Links list.
getLinksIn() - Method in class com.agenarisk.api.model.Node
Returns a copy of the list of incoming Links.
getLinksOut() - Method in interface com.agenarisk.api.model.interfaces.Networked
Returns a copy of the list of outgoing Links.
getLinksOut() - Method in class com.agenarisk.api.model.Network
Returns a copy of the outgoing Links list.
getLinksOut() - Method in class com.agenarisk.api.model.Node
Returns a copy of the list of outgoing Links.
getLogicCalculationResult() - Method in class com.agenarisk.api.model.CalculationResult
Deprecated.
Will be affected by module architecture in the future and should not be used.
getLogicLink() - Method in class com.agenarisk.api.model.CrossNetworkLink
Returns the underlying logical link.
getLogicModel() - Method in class com.agenarisk.api.model.Model
Returns the underlying ExtendedBN.
getLogicNetwork() - Method in class com.agenarisk.api.model.Network
Deprecated.
Will be made module-restricted in the future.
getLogicNode() - Method in class com.agenarisk.api.model.Node
Returns the underlying ExtendedNode.
getLogicObservation() - Method in class com.agenarisk.api.model.Observation
Getter for the logic observation associated with this Observation.
getLogicScenario() - Method in class com.agenarisk.api.model.DataSet
Deprecated.
Will be made module-restricted in the future.
getLogicState() - Method in class com.agenarisk.api.model.State
Deprecated.
Will be affected by module architecture in the future and should not be used.
getLowerBound() - Method in class com.agenarisk.api.model.ResultInterval
Gets lower bound of the range.
getLowerPercentile() - Method in class com.agenarisk.api.model.CalculationResult
Gets lower percentile value for this result.
getMean() - Method in class com.agenarisk.api.model.CalculationResult
Gets mean value for this result.
getMedian() - Method in class com.agenarisk.api.model.CalculationResult
Gets median value for this result.
getMessage() - Method in class com.agenarisk.api.util.Advisory.AdvisoryMessage
Getter for the message text.
getMessages() - Method in class com.agenarisk.api.util.Advisory.AdvisoryGroup
Returns the List of AdvisoryMessages for this AdvisoryGroup.
Warning: modifying this List directly will affect the workings of the Advisory and is NOT recommended.
getModel() - Method in class com.agenarisk.api.model.DataSet
Returns the Model that this DataSet belongs to.
getModel() - Method in class com.agenarisk.api.model.Network
Returns the Model that this Network belongs to.
getName() - Method in interface com.agenarisk.api.model.interfaces.Named
Gets the name of this Named object.
getName() - Method in class com.agenarisk.api.model.Network
Gets the name of this Network.
getName() - Method in class com.agenarisk.api.model.Node
Gets the name of this node.
getNetwork(String) - Method in class com.agenarisk.api.model.Model
Looks up and returns a Network by its ID.
getNetwork() - Method in class com.agenarisk.api.model.Node
Returns the Network containing this Node.
getNetworkList() - Method in class com.agenarisk.api.model.Model
Returns Networks of this Model as a list
getNetworks() - Method in class com.agenarisk.api.model.Model
Returns a copy of ID-Network map.
getNNJArray(JSONObject, Object) - Static method in class com.agenarisk.api.util.JSONUtils
 
getNNJArray(JSONArray, int) - Static method in class com.agenarisk.api.util.JSONUtils
 
getnnJObject(JSONArray, int) - Static method in class com.agenarisk.api.util.JSONUtils
 
getNNJObject(JSONObject, Object) - Static method in class com.agenarisk.api.util.JSONUtils
 
getNode() - Method in class com.agenarisk.api.model.CalculationResult
Returns the CalculationResult's Node.
getNode(String) - Method in class com.agenarisk.api.model.Network
Gets Node from the Network by its unique ID.
getNode() - Method in class com.agenarisk.api.model.Observation
Returns the observed Node.
getNode() - Method in class com.agenarisk.api.model.State
Gets the state's Node.
getNodeList() - Method in class com.agenarisk.api.model.Network
Returns Nodes of this Network as a list
getNodes() - Method in class com.agenarisk.api.model.Network
Returns a copy of ID-Node map.
getObservation(Node) - Method in class com.agenarisk.api.model.DataSet
Returns a view of the observation for the given node if there is one.
getObservations() - Method in class com.agenarisk.api.model.DataSet
Returns all observations in this DataSet for all Networks and Nodes.
getObservationsAndVariables(Node) - Method in class com.agenarisk.api.model.DataSet
Returns all Observations and VariableObservations in this DataSet for the provided Node.
getObservationsAndVariables() - Method in class com.agenarisk.api.model.DataSet
Returns all Observations and VariableObservations in this DataSet for all Networks and Nodes.
getParents() - Method in interface com.agenarisk.api.model.interfaces.Networked
Builds and returns a set of parents, which is valid at the time of request.
getParents() - Method in class com.agenarisk.api.model.Network
Builds and returns a set of Networks, which are parents of this Network.
getParents() - Method in class com.agenarisk.api.model.Node
Builds and returns a set of Node's parents, which is valid at the time of request.
getPercentile() - Method in class com.agenarisk.api.model.CalculationResult
Gets percentile value for this result.
getResultValue(String) - Method in class com.agenarisk.api.model.CalculationResult
Returns a specific ResultValue by its label or null.
getResultValues() - Method in class com.agenarisk.api.model.CalculationResult
Returns the Result Values that make up CalculationResult for this Node.
getRevision() - Static method in class com.agenarisk.api.util.VersionApi
 
getSampleSize() - Method in class com.agenarisk.api.model.Settings
Gets ranked node sample size.
getSettings() - Method in class com.agenarisk.api.model.Model
Returns Model Settings object.
getStandardDeviation() - Method in class com.agenarisk.api.model.CalculationResult
Gets standard deviation value for this result.
getState(String) - Method in class com.agenarisk.api.model.Node
Find a state by given label in this Node's underlying logic node.
getState(Node, String) - Static method in class com.agenarisk.api.model.State
Find a state by given label in the given Node's underlying logic node.
getStates() - Method in class com.agenarisk.api.model.Node
Returns a representation of Node's states at the time of the request.
The list will not be updated to reflect any changes, and no changes to the list or the States will be reflected in the Model.
getStateToPass() - Method in class com.agenarisk.api.model.CrossNetworkLink
Returns the state to pass with this cross-network link.
getTableType() - Method in class com.agenarisk.api.model.Node
Returns the type of the table configured for the Node.
Possible values are:
• Manual
• Expression
• Partitioned
getTolerance() - Method in class com.agenarisk.api.model.Settings
Gets simulation evidence tolerance percent.
getToNode() - Method in class com.agenarisk.api.model.Link
Returns the target Link Node.
getType() - Method in class com.agenarisk.api.model.CrossNetworkLink
Returns the type of this cross-network link.
getType() - Method in class com.agenarisk.api.model.Node
Gets the Type of this Node.
getUpperBound() - Method in class com.agenarisk.api.model.ResultInterval
Gets upper bound of the range.
getUpperPercentile() - Method in class com.agenarisk.api.model.CalculationResult
Gets upper percentile value for this result.
getValue() - Method in class com.agenarisk.api.model.field.Id
Returns this ID's value.
getValue() - Method in class com.agenarisk.api.model.ResultValue
Gets the probability mass value.
getVariableName() - Method in class com.agenarisk.api.model.VariableObservation
Returns the name of the Variable associated with this Observation.
getVariableObservation(Node, String) - Method in class com.agenarisk.api.model.DataSet
Returns a view of the VariableObservation for the provided Node and variable name if there is one.
getVariableObservations(Node) - Method in class com.agenarisk.api.model.DataSet
Returns a view of VariableObservations for the provided Node.
getVariableObservations() - Method in class com.agenarisk.api.model.DataSet
Returns all VariableObservations in this DataSet for all Networks and Nodes.
getVariableValue() - Method in class com.agenarisk.api.model.VariableObservation
Returns the value of this VariableObservation as a single double or zero if no value is set.
getVariance() - Method in class com.agenarisk.api.model.CalculationResult
Gets variance value for this result.
getVersionText() - Static method in class com.agenarisk.api.util.VersionApi
 
Graphics - Class in com.agenarisk.api.io.stub
This is a stub class that only contains field values for input/output to XML and JSON format.
Graphics() - Constructor for class com.agenarisk.api.io.stub.Graphics
 
Graphics.CanvasData - Enum in com.agenarisk.api.io.stub
This is set of fields for input/output to XML and JSON format
Graphics.Field - Enum in com.agenarisk.api.io.stub
This is set of fields for input/output to XML and JSON format
Graphics.Images - Enum in com.agenarisk.api.io.stub
This is set of fields for input/output to XML and JSON format
Graphics.PaneSettings - Enum in com.agenarisk.api.io.stub
This is set of fields for input/output to XML and JSON format
Graphics.WindowSettings - Enum in com.agenarisk.api.io.stub
This is set of fields for input/output to XML and JSON format

H

hasAncestor(N) - Method in interface com.agenarisk.api.model.interfaces.Networked
Checks recursively whether any of the links are incoming from the provided ancestor.
hasDescendant(N) - Method in interface com.agenarisk.api.model.interfaces.Networked
Checks recursively whether any of the links are outgoing to the provided descendant.
hashCode() - Method in class com.agenarisk.api.model.field.Id
Returns a hash code of this ID based on its value.
hashCode() - Method in class com.agenarisk.api.model.Link
Returns a hash code value for this object.
hashCode() - Method in class com.agenarisk.api.model.Network
Returns a hash code value for this object.
hashCode() - Method in class com.agenarisk.api.model.Node
Returns a hash code value for this object.
hasObservation(Node) - Method in class com.agenarisk.api.model.DataSet
Checks whether the Node has an observation set.
hasVariableObservation(Node, String) - Method in class com.agenarisk.api.model.DataSet
Checks whether the provided variable in the provided node is observed in this DataSet.

I

Id - Class in com.agenarisk.api.model.field
This class represents a unique String ID
Id(String) - Constructor for class com.agenarisk.api.model.field.Id
Constructor of this ID.
IdContainer<E extends Exception> - Interface in com.agenarisk.api.model.interfaces
Classes that have a collection of some identifiable objects that have a unique ID should implement this.
Identifiable<E extends Exception> - Interface in com.agenarisk.api.model.interfaces
Objects that have a unique ID and are members of some collection in a container class should implement this.
InconsistentEvidenceException - Exception in com.agenarisk.api.exception
Thrown when specifically inconsistent evidence was detected and caused a calculation failure.
InconsistentEvidenceException(String) - Constructor for exception com.agenarisk.api.exception.InconsistentEvidenceException
 
InconsistentEvidenceException(String, Throwable) - Constructor for exception com.agenarisk.api.exception.InconsistentEvidenceException
 
isCalculated() - Method in class com.agenarisk.api.model.Model
Checks whether the model had been successfully calculated and requires no calculation at this time.
Model is considered calculated if all Networks had been calculated.
isConnectedInput() - Method in class com.agenarisk.api.model.Node
Returns true if this Node has an incoming link from another Network.
isConnectedOutput() - Method in class com.agenarisk.api.model.Node
Returns true if this Node has an outgoing link to another Network.
isContinuous() - Method in class com.agenarisk.api.model.CalculationResult
Returns if the calculation result is for a continuous variable.
isDiscretizeTails() - Method in class com.agenarisk.api.model.Settings
Checks whether tails are discretized during simulated calculation.
isLinkedTo(Thread) - Method in class com.agenarisk.api.util.Advisory.AdvisoryGroup
Checks if this AdvisoryGroup is linked to the provided Thread.
isNumericInterval() - Method in class com.agenarisk.api.model.Node
Returns true if the Node is continuous or integer interval
isSimulated() - Method in class com.agenarisk.api.model.Node
Returns true if the Node is simulated and false otherwise.

J

JSONAdapter - Class in com.agenarisk.api.io
JSONAdapter enables encoding of an API1 model as JSON.
JSONAdapter() - Constructor for class com.agenarisk.api.io.JSONAdapter
 
JSONUtils - Class in com.agenarisk.api.util
Provides convenience functionality for working with JSONObject and JSONArray classes.
JSONUtils() - Constructor for class com.agenarisk.api.util.JSONUtils
 

L

Launcher - Class in com.agenarisk.api.util
 
Launcher() - Constructor for class com.agenarisk.api.util.Launcher
 
Link - Class in com.agenarisk.api.model
Link represents a link between two nodes.
Link(Node, Node) - Constructor for class com.agenarisk.api.model.Link
Deprecated.
For internal use only. Use createLink() instead
Link.Field - Enum in com.agenarisk.api.model
This is set of fields for input/output to XML and JSON format
LinkException - Exception in com.agenarisk.api.exception
 
LinkException(String) - Constructor for exception com.agenarisk.api.exception.LinkException
 
LinkException(String, Throwable) - Constructor for exception com.agenarisk.api.exception.LinkException
 
linkFrom(Node) - Method in class com.agenarisk.api.model.Node
Creates a simple Link from the given Node to this Node in the same Network.
linkNodes(Model, JSONArray) - Static method in class com.agenarisk.api.model.Node
Creates links from the given JSON.
linkNodes(Node, Node) - Static method in class com.agenarisk.api.model.Node
Creates a simple Link between two nodes in the same Network.
linkNodes(Node, Node, CrossNetworkLink.Type) - Static method in class com.agenarisk.api.model.Node
Creates a Link between two nodes in same or different Networks.
linkNodes(Node, Node, CrossNetworkLink.Type, String) - Static method in class com.agenarisk.api.model.Node
Creates a Link between two nodes in same or different Networks.
linkTo(Node) - Method in class com.agenarisk.api.model.Node
Creates a simple Link from this Node to given Node in the same Network.
linkToThread(Thread) - Method in class com.agenarisk.api.util.Advisory.AdvisoryGroup
Links the provided Thread to this AdvisoryGroup.
loadCalculationResult(DataSet, JSONObject) - Static method in class com.agenarisk.api.model.CalculationResult
Loads CalculationResult data from JSON into the underlying logic structure.
loadCalculationResult(JSONObject) - Method in class com.agenarisk.api.model.DataSet
Loads calculation result data for this DataSet from a given JSON and creates corresponding objects in the underlying logic.
loadModel(String) - Static method in class com.agenarisk.api.model.Model
Loads a Model from provided path
loadModelJSON(String) - Static method in class com.agenarisk.api.util.JSONUtils
Loads Model configuration from a JSON file.
loadModelXML(String) - Static method in class com.agenarisk.api.util.JSONUtils
Loads Model configuration from an XML file and converts it into suitable JSONObject.
loadQuestionnaire(JSONObject) - Method in class com.agenarisk.api.model.Model
Loads a Questionnaire from JSON
loadRiskTable(JSONArray) - Method in class com.agenarisk.api.model.Model
Loads Risk Table from JSON into the current Model
loadSettings(Model, JSONObject) - Static method in class com.agenarisk.api.model.Settings
Utility method to load settings from the provided JSON to the provided Model.
For any missing fields, current model settings (or defaults) will be used.
loadSettings(Model, JSONObject) - Static method in class com.agenarisk.api.model.Settings
Utility method to load settings from the provided JSON to the provided API1 Model.
For any missing fields, current model settings (or defaults) will be used.

M

main(String[]) - Static method in class com.agenarisk.api.util.Launcher
 
Meta - Class in com.agenarisk.api.io.stub
This is a stub class that only contains field values for input/output to XML and JSON format.
Meta() - Constructor for class com.agenarisk.api.io.stub.Meta
 
Meta.Field - Enum in com.agenarisk.api.io.stub
This is set of fields for input/output to XML and JSON format
Model - Class in com.agenarisk.api.model
Model class represents an AgenaRisk model that may contain a number of Bayesian networks, datasets etc, equivalent to com.agenarisk.api.model.Model in AgenaRisk Java API v1.
Model.ExportFlags - Enum in com.agenarisk.api.model
 
Model.Field - Enum in com.agenarisk.api.model
This is set of fields for input/output to XML and JSON format
ModelException - Exception in com.agenarisk.api.exception
 
ModelException(String) - Constructor for exception com.agenarisk.api.exception.ModelException
 
ModelException(String, Throwable) - Constructor for exception com.agenarisk.api.exception.ModelException
 
modelLinksToJSON(Model) - Static method in class com.agenarisk.api.io.JSONAdapter
 
modelMetaToJSON(Model) - Static method in class com.agenarisk.api.io.JSONAdapter
 
modelNetworksToJSON(Model) - Static method in class com.agenarisk.api.io.JSONAdapter
 
modelRiskTableToJSON(Model) - Static method in class com.agenarisk.api.io.JSONAdapter
 
modelScenariosToJSON(Model) - Static method in class com.agenarisk.api.io.JSONAdapter
 

N

Named - Interface in com.agenarisk.api.model.interfaces
 
Network - Class in com.agenarisk.api.model
Network class represents an equivalent to a Risk Object in AgenaRisk Desktop or ExtendedBN in AgenaRisk Java API v1.
Network.Field - Enum in com.agenarisk.api.model
This is set of fields for input/output to XML and JSON format
Network.ModificationLog - Enum in com.agenarisk.api.model
This is set of fields for input/output to XML and JSON format
Networked<N extends Networked> - Interface in com.agenarisk.api.model.interfaces
An interface for objects that can be connected into a network of objects (e.g.
NetworkException - Exception in com.agenarisk.api.exception
 
NetworkException(String) - Constructor for exception com.agenarisk.api.exception.NetworkException
 
NetworkException(String, Throwable) - Constructor for exception com.agenarisk.api.exception.NetworkException
 
Node - Class in com.agenarisk.api.model
Node class represents a node in the Network.
Node.Field - Enum in com.agenarisk.api.model
This is set of fields for input/output to XML and JSON format
Node.Type - Enum in com.agenarisk.api.model
These are Node types that correspond to AgenaRisk Desktop node types
nodeConfigToJSON(ExtendedNode) - Static method in class com.agenarisk.api.io.JSONAdapter
 
NodeConfiguration - Class in com.agenarisk.api.model
This is a stub class that only contains field values for input/output to XML and JSON format.
NodeConfiguration() - Constructor for class com.agenarisk.api.model.NodeConfiguration
 
NodeConfiguration.Field - Enum in com.agenarisk.api.model
This is set of fields for input/output to XML and JSON format
NodeConfiguration.Table - Enum in com.agenarisk.api.model
This is set of fields for input/output to XML and JSON format
NodeConfiguration.TableType - Enum in com.agenarisk.api.model
This is set of fields for input/output to XML and JSON format
NodeConfiguration.Variables - Enum in com.agenarisk.api.model
This is set of fields for input/output to XML and JSON format
NodeException - Exception in com.agenarisk.api.exception
 
NodeException(String) - Constructor for exception com.agenarisk.api.exception.NodeException
 
NodeException(String, Throwable) - Constructor for exception com.agenarisk.api.exception.NodeException
 
NodeGraphics - Class in com.agenarisk.api.io.stub
This is a stub class that only contains field values for input/output to XML and JSON format.
NodeGraphics() - Constructor for class com.agenarisk.api.io.stub.NodeGraphics
 
NodeGraphics.Field - Enum in com.agenarisk.api.io.stub
This is set of fields for input/output to XML and JSON format
nodeGraphicsToJSON(ExtendedNode) - Static method in class com.agenarisk.api.io.JSONAdapter
 
nodeMetaToJSON(ExtendedNode) - Static method in class com.agenarisk.api.io.JSONAdapter
 
nodeTableToJSON(ExtendedNode) - Static method in class com.agenarisk.api.io.JSONAdapter
 
NodeTemplate - Class in com.agenarisk.api.model
 

O

Observation - Class in com.agenarisk.api.model
Observation class is a view of an observation, valid at the time of resolution and not maintained.
Observation(Observation, DataSet, Node) - Constructor for class com.agenarisk.api.model.Observation
Constructor for the observation.
Observation.Field - Enum in com.agenarisk.api.model
This is set of fields for input/output to XML and JSON format
ObservationException - Exception in com.agenarisk.api.exception
 
ObservationException(String) - Constructor for exception com.agenarisk.api.exception.ObservationException
 
ObservationException(String, Throwable) - Constructor for exception com.agenarisk.api.exception.ObservationException
 

P

partitionByParents(Node[]) - Method in class com.agenarisk.api.model.Node
Sets node partitions based on the parent states.
Picture - Class in com.agenarisk.api.io.stub
This is a stub class that only contains field values for input/output to XML and JSON format.
Picture() - Constructor for class com.agenarisk.api.io.stub.Picture
 
Picture.Field - Enum in com.agenarisk.api.io.stub
This is set of fields for input/output to XML and JSON format

R

regenerateNPTs() - Method in class com.agenarisk.api.model.Network
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.
removeDataSet(DataSet) - Method in class com.agenarisk.api.model.Model
Removes the provided DataSet from the model
removeLink(Link) - Method in class com.agenarisk.api.model.Node
Deprecated.
For internal use only
removeNetwork(Network) - Method in class com.agenarisk.api.model.Model
Removes provided Network from this Model, breaks any existing links to and from this Network.
removeNetwork(String) - Method in class com.agenarisk.api.model.Model
Removes provided Network from this Model, breaks any existing links to and from this Network.
removeNode(Node) - Method in class com.agenarisk.api.model.Network
Removes the provided node from the model, severing its links to other Nodes and then removing it from its Network.
reset() - Method in class com.agenarisk.api.model.Model
Reset the model by removing all Networks, Links, DataSets etc
resolveNodeClassName(Node.Type) - Static method in class com.agenarisk.api.model.NodeConfiguration
Gets fully-qualified name for ExtendedNode concrete implementation matching the provided Node type from Note.Type.
resolveNodeType(ExtendedNode) - Static method in class com.agenarisk.api.model.NodeConfiguration
Resolves the Node Type based on the logical node.
ResultInterval - Class in com.agenarisk.api.model
ResultInterval represents a range with a lower and upper boundaries with a probability mass allocated to it.
ResultInterval(CalculationResult, String, double, double, double) - Constructor for class com.agenarisk.api.model.ResultInterval
Constructor for ResultInterval.
resultsToJSON(Model, Scenario) - Static method in class com.agenarisk.api.io.JSONAdapter
 
ResultValue - Class in com.agenarisk.api.model
ResultValue represents a state or range with probability mass allocated to it.
ResultValue(CalculationResult, String, double) - Constructor for class com.agenarisk.api.model.ResultValue
Constructor for ResultValue.
ResultValue.Field - Enum in com.agenarisk.api.model
This is set of fields for input/output to XML and JSON format
RiskTable - Class in com.agenarisk.api.io.stub
This is a stub class that only contains field values for input/output to XML and JSON format.
RiskTable() - Constructor for class com.agenarisk.api.io.stub.RiskTable
 
RiskTable.Answer - Enum in com.agenarisk.api.io.stub
This is set of fields for input/output to XML and JSON format
RiskTable.Field - Enum in com.agenarisk.api.io.stub
This is set of fields for input/output to XML and JSON format
RiskTable.Question - Enum in com.agenarisk.api.io.stub
This is set of fields for input/output to XML and JSON format
RiskTable.QuestionMode - Enum in com.agenarisk.api.io.stub
This is set of fields for input/output to XML and JSON format
RiskTable.Questionnaire - Enum in com.agenarisk.api.io.stub
This is set of fields for input/output to XML and JSON format
RiskTable.QuestionType - Enum in com.agenarisk.api.io.stub
This is set of fields for input/output to XML and JSON format

S

save(String) - Method in class com.agenarisk.api.model.Model
Saves the Model to a file path specified.
Output format is determined by path extension:
• AgenaRisk 7 CMP for "cmp"
• XML for "xml"
• JSON for everything else
saveEssentials(String, boolean) - Method in class com.agenarisk.api.model.Model
Saves the Model as a light-weight JSON.
Keeps only elements essential for a clean calculation.
Drops: Graphics, RiskTable, DataSets, compiled non-manual NPTs, names, notes and descriptions.
scenarioToJSON(Model, Scenario) - Static method in class com.agenarisk.api.io.JSONAdapter
 
SensitivityAnalyser - Class in com.agenarisk.api.tools
SensitivityAnalyser performs sensitivity analysis of the model for the provided target and sensitivity Nodes.
The input is a JSON configuration.
SensitivityAnalyser(Model, JSONObject) - Constructor for class com.agenarisk.api.tools.SensitivityAnalyser
Constructor for Sensitivity Analysis tool.
The Model will be factorised and converted to static taking into account any overriding model settings and observations pre-entered into the selected DataSet.
If no DataSet or Network are specified, the first one of each will be used.
SensitivityAnalyserException - Exception in com.agenarisk.api.tools
 
SensitivityAnalyserException() - Constructor for exception com.agenarisk.api.tools.SensitivityAnalyserException
 
SensitivityAnalyserException(String) - Constructor for exception com.agenarisk.api.tools.SensitivityAnalyserException
 
SensitivityAnalyserException(String, Throwable) - Constructor for exception com.agenarisk.api.tools.SensitivityAnalyserException
 
SensitivityAnalyserException(Throwable) - Constructor for exception com.agenarisk.api.tools.SensitivityAnalyserException
 
setConvergence(double) - Method in class com.agenarisk.api.model.Settings
Sets simulation entropy error convergence threshold
setDefaultIntervalStates(Node) - Static method in class com.agenarisk.api.model.NodeConfiguration
Replaces Node states with 3 default interval states.
setDescription(String) - Method in interface com.agenarisk.api.model.interfaces.Named
Sets the description of this Named object.
setDescription(String) - Method in class com.agenarisk.api.model.Network
Sets the description of this Network.
setDescription(String) - Method in class com.agenarisk.api.model.Node
Sets the description of this Node.
setDiscretizeTails(boolean) - Method in class com.agenarisk.api.model.Settings
Sets whether tails are discretized during simulated calculation.
setGraphics(JSONObject) - Method in class com.agenarisk.api.model.Link
Stores Link's graphics.
setId(String) - Method in class com.agenarisk.api.model.DataSet
Changes the ID of this Network to the provided ID, if the new ID is not already taken.
setId(String) - Method in interface com.agenarisk.api.model.interfaces.Identifiable
Changes the ID of the object.
setId(String) - Method in class com.agenarisk.api.model.Network
Changes the ID of this Network to the provided ID, if the new ID is not already taken.
setId(String) - Method in class com.agenarisk.api.model.Node
Changes the ID of this Node to the provided ID, if the new ID is not already taken.
setId(String) - Method in class com.agenarisk.api.model.NodeTemplate
 
setIterations(int) - Method in class com.agenarisk.api.model.Settings
Sets maximum number of iterations during model calculation.
setLogicModel(Model) - Method in class com.agenarisk.api.model.Model
Links this Model to an underlying Minerva Model object.
setLogicNetwork(ExtendedBN) - Method in class com.agenarisk.api.model.Network
Links this Network to an underlying Minerva Network object.
setLogicNode(ExtendedNode) - Method in class com.agenarisk.api.model.Node
Links this Node to an underlying Minerva Node object.
setLogicScenario(Scenario) - Method in class com.agenarisk.api.model.DataSet
Links this Network to an underlying Minerva Network object.
setLogicState(ExtendedState) - Method in class com.agenarisk.api.model.State
Links this State to an underlying API1 State object.
setName(String) - Method in interface com.agenarisk.api.model.interfaces.Named
Sets the name of this Named object.
setName(String) - Method in class com.agenarisk.api.model.Network
Sets the name of this Network.
setName(String) - Method in class com.agenarisk.api.model.Node
Sets the name of this Node.
setName(String) - Method in class com.agenarisk.api.model.NodeTemplate
 
setNodeType(Node.Type) - Method in class com.agenarisk.api.model.NodeTemplate
 
setNPTColumns(double[][]) - Method in class com.agenarisk.api.model.NodeTemplate
 
setNPTRows(Double[][]) - Method in class com.agenarisk.api.model.NodeTemplate
 
setObservation(Node, Object) - Method in class com.agenarisk.api.model.DataSet
Sets a hard observation for a Node.
setObservation(JSONObject) - Method in class com.agenarisk.api.model.DataSet
Sets observations according to the given JSON.
setObservationConstant(Node, String, double) - Method in class com.agenarisk.api.model.DataSet
Sets a node constant observation for a Node.
setObservationHard(Node, int) - Method in class com.agenarisk.api.model.DataSet
Sets a hard integer observation for a Node.
setObservationHard(Node, double) - Method in class com.agenarisk.api.model.DataSet
Sets a hard real observation for a Node.
setObservationHard(Node, String) - Method in class com.agenarisk.api.model.DataSet
Sets a hard observation for a Node.
setObservationSoft(Node, String[], Double[]) - Method in class com.agenarisk.api.model.DataSet
Sets a soft observation for the node, assigning a given weights to given states.
setObservationSoft(Node, Map<String, Double>) - Method in class com.agenarisk.api.model.DataSet
Sets a soft observation for the node, assigning a given weights to given states.
setSampleSize(int) - Method in class com.agenarisk.api.model.Settings
Sets ranked node sample size.
setStates(String[]) - Method in class com.agenarisk.api.model.Node
Replaces Node's states by the ones given in the array.
setStates(JSONArray) - Method in class com.agenarisk.api.model.Node
Replaces Node's states by the ones given in the JSON array.
setStates(List<String>) - Method in class com.agenarisk.api.model.NodeTemplate
 
setStates(String[]) - Method in class com.agenarisk.api.model.NodeTemplate
 
setTable(JSONObject) - Method in class com.agenarisk.api.model.Node
Replaces the Node's probability table with one specified in the given JSON.
setTableColumns(double[][]) - Method in class com.agenarisk.api.model.Node
Sets the manual NPT according to columns provided.
setTableFunction(String) - Method in class com.agenarisk.api.model.Node
Sets Node function to the one provided.
setTableFunction(String, List<String>) - Method in class com.agenarisk.api.model.Node
Sets Node function to the one provided.
setTableFunction(String, List<String>, boolean) - Method in class com.agenarisk.api.model.Node
Sets Node function to the one provided.
setTableFunctions(String[]) - Method in class com.agenarisk.api.model.Node
Sets Node functions to the ones provided.
setTableRows(double[][]) - Method in class com.agenarisk.api.model.Node
Sets the manual NPT according to rows provided.
setTableType(NodeConfiguration.TableType) - Method in class com.agenarisk.api.model.NodeTemplate
 
setTableUniform() - Method in class com.agenarisk.api.model.Node
Resets the node NPT to a uniform table.
Settings - Class in com.agenarisk.api.model
This is a class for Model calculation settings.
Settings(Model) - Constructor for class com.agenarisk.api.model.Settings
 
Settings.Field - Enum in com.agenarisk.api.model
This is set of fields for input/output to XML and JSON format
setTolerance(double) - Method in class com.agenarisk.api.model.Settings
Sets simulation evidence tolerance percent.
setVariableObservation(Node, String, double) - Method in class com.agenarisk.api.model.DataSet
Sets a value for the provided variable in the provided Node in this DataSet to override its default value
State - Class in com.agenarisk.api.model
Node class corresponds to a State in AgenaRisk Desktop or ExtendedState in AgenaRisk Java API v1.
State.Field - Enum in com.agenarisk.api.model
This is set of fields for input/output to XML and JSON format
StateException - Exception in com.agenarisk.api.exception
 
StateException(String) - Constructor for exception com.agenarisk.api.exception.StateException
 
StateException(String, Throwable) - Constructor for exception com.agenarisk.api.exception.StateException
 
Storable - Interface in com.agenarisk.api.model.interfaces
Classes that will be stored in a JSON format should implement this.
SummaryStatistic - Class in com.agenarisk.api.io.stub
This is a stub class that only contains field values for input/output to XML and JSON format.
SummaryStatistic() - Constructor for class com.agenarisk.api.io.stub.SummaryStatistic
 
SummaryStatistic.Field - Enum in com.agenarisk.api.io.stub
This is set of fields for input/output to XML and JSON format

T

Text - Class in com.agenarisk.api.io.stub
This is a stub class that only contains field values for input/output to XML and JSON format.
Text() - Constructor for class com.agenarisk.api.io.stub.Text
 
Text.Field - Enum in com.agenarisk.api.io.stub
This is set of fields for input/output to XML and JSON format
throwIdExistsException(String) - Method in interface com.agenarisk.api.model.interfaces.IdContainer
Throws an Exception with message e.g.
throwIdExistsException(String) - Method in class com.agenarisk.api.model.Model
Deprecated.
For internal use only
throwIdExistsException(String) - Method in class com.agenarisk.api.model.Network
Deprecated.
For internal use only
throwOldIdNullException(String) - Method in interface com.agenarisk.api.model.interfaces.IdContainer
Throws an Exception with message e.g.
throwOldIdNullException(String) - Method in class com.agenarisk.api.model.Model
Deprecated.
For internal use only
throwOldIdNullException(String) - Method in class com.agenarisk.api.model.Network
Deprecated.
For internal use only
toJson() - Method in class com.agenarisk.api.model.CalculationResult
Returns a JSON representation of this object.
toJson() - Method in class com.agenarisk.api.model.CrossNetworkLink
Creates a JSON representing this Link, ready for file storage.
toJson() - Method in class com.agenarisk.api.model.DataSet
Creates a JSONObject representation of this DataSet
toJson() - Method in interface com.agenarisk.api.model.interfaces.Storable
Builds a JSONObject representation of this object.
toJson() - Method in class com.agenarisk.api.model.Link
Creates a JSON representing this Link, ready for file storage.
toJson() - Method in class com.agenarisk.api.model.Model
Creates a JSON representing this Network, ready for file storage.
toJson() - Method in class com.agenarisk.api.model.Network
Creates a JSON representing this Network, ready for file storage.
toJson() - Method in class com.agenarisk.api.model.Node
Creates a JSON representing this Node, ready for file storage.
toJson() - Method in class com.agenarisk.api.model.Observation
Creates a JSONObject representation of this Observation.
toJson() - Method in class com.agenarisk.api.model.ResultValue
Returns a JSON representation of this object.
toJson(Model) - Static method in class com.agenarisk.api.model.Settings
Utility method to build a JSON equivalent of settings from the provided API1 model
toJson() - Method in class com.agenarisk.api.model.Settings
Returns a JSON representation of the Model settings.
toJson() - Method in class com.agenarisk.api.model.VariableObservation
Creates a JSONObject representation of this Observation.
toJSONObject(Model) - Static method in class com.agenarisk.api.io.JSONAdapter
 
toJSONObject(ExtendedBN) - Static method in class com.agenarisk.api.io.JSONAdapter
 
toJSONObject(ExtendedNode) - Static method in class com.agenarisk.api.io.JSONAdapter
 
toJSONObject(Object[][]) - Static method in class com.agenarisk.api.util.JSONUtils
Converts a 2D Object array into a JSONObject.
toList(JSONArray, Class<T>) - Static method in class com.agenarisk.api.util.JSONUtils
Converts JSONArray to a List of provided type.
toString() - Method in class com.agenarisk.api.model.CalculationResult
Returns a String value of the JSON representation of this object.
toString(int) - Method in class com.agenarisk.api.model.CalculationResult
Returns a String value of the JSON representation of this object.
toString() - Method in class com.agenarisk.api.model.field.Id
Returns the string representation of this ID which is its value.
toString() - Method in class com.agenarisk.api.model.Link
Returns toStringExtra().
toString() - Method in class com.agenarisk.api.model.Network
Returns toStringExtra().
toString() - Method in class com.agenarisk.api.model.Node
Returns JSON equivalent of this Node as a String.
toString() - Method in class com.agenarisk.api.model.Observation
Returns a JSON String representing this Observation.
toString() - Method in class com.agenarisk.api.model.ResultValue
Returns a String value of the JSON representation of this object.
toString() - Method in class com.agenarisk.api.model.State
 
toStringExtra() - Method in class com.agenarisk.api.model.Link
Returns the string representation of the Link as: `Net1`.`Node1` → `Net2`.`Node2`.
toStringExtra() - Method in class com.agenarisk.api.model.Network
Returns the ID of the underlying network surrounded by back ticks.
toStringExtra() - Method in class com.agenarisk.api.model.Node
Returns `network`.`node` String representing this Node.
toXMLString(Object) - Static method in class com.agenarisk.api.io.XMLAdapter
Converts a JSON AgenaRisk 10 model to its XML representation.
transposeMatrix(double[][]) - Static method in class com.agenarisk.api.model.NodeConfiguration
Transposes the provided 2D matrix.
traverse(Object, Consumer<Object>) - Static method in class com.agenarisk.api.util.JSONUtils
Applies the provided action to the provided object.

U

unlink(N) - Method in interface com.agenarisk.api.model.interfaces.Networked
Breaks the Link between this Networked object and the one provided, regardless of which one is the parent and which is the child.
unlink(Network) - Method in class com.agenarisk.api.model.Network
Removes all links (if any exist) between the two networks.
unlink(Node) - Method in class com.agenarisk.api.model.Node
Removes a link between this Node and the linkedNode, if such link exists.
unlinkNodes(Node, Node) - Static method in class com.agenarisk.api.model.Node
Checks that there is a Link between two nodes and destroys it.
unlinkThread(Thread) - Method in class com.agenarisk.api.util.Advisory.AdvisoryGroup
Unlinks provided Thread from this AdvisoryGroup

V

valueOf(String) - Static method in enum com.agenarisk.api.io.stub.Audit.Field
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.io.stub.Graphics.CanvasData
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.io.stub.Graphics.Field
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.io.stub.Graphics.Images
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.io.stub.Graphics.PaneSettings
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.io.stub.Graphics.WindowSettings
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.io.stub.Meta.Field
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.io.stub.NodeGraphics.Field
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.io.stub.Picture.Field
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.io.stub.RiskTable.Answer
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.io.stub.RiskTable.Field
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.io.stub.RiskTable.Question
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.io.stub.RiskTable.QuestionMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.io.stub.RiskTable.Questionnaire
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.io.stub.RiskTable.QuestionType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.io.stub.SummaryStatistic.Field
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.io.stub.Text.Field
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.model.CalculationResult.Field
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.model.CrossNetworkLink.Field
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.model.CrossNetworkLink.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.model.DataSet.Field
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.model.Link.Field
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.model.Model.ExportFlags
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.model.Model.Field
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.model.Network.Field
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.model.Network.ModificationLog
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.model.Node.Field
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.model.Node.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.model.NodeConfiguration.Field
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.model.NodeConfiguration.Table
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.model.NodeConfiguration.TableType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.model.NodeConfiguration.Variables
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.model.Observation.Field
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.model.ResultValue.Field
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.model.Settings.Field
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.agenarisk.api.model.State.Field
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.agenarisk.api.io.stub.Audit.Field
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.io.stub.Graphics.CanvasData
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.io.stub.Graphics.Field
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.io.stub.Graphics.Images
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.io.stub.Graphics.PaneSettings
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.io.stub.Graphics.WindowSettings
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.io.stub.Meta.Field
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.io.stub.NodeGraphics.Field
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.io.stub.Picture.Field
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.io.stub.RiskTable.Answer
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.io.stub.RiskTable.Field
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.io.stub.RiskTable.Question
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.io.stub.RiskTable.QuestionMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.io.stub.RiskTable.Questionnaire
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.io.stub.RiskTable.QuestionType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.io.stub.SummaryStatistic.Field
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.io.stub.Text.Field
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.model.CalculationResult.Field
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.model.CrossNetworkLink.Field
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.model.CrossNetworkLink.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.model.DataSet.Field
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.model.Link.Field
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.model.Model.ExportFlags
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.model.Model.Field
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.model.Network.Field
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.model.Network.ModificationLog
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.model.Node.Field
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.model.Node.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.model.NodeConfiguration.Field
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.model.NodeConfiguration.Table
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.model.NodeConfiguration.TableType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.model.NodeConfiguration.Variables
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.model.Observation.Field
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.model.ResultValue.Field
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.model.Settings.Field
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.agenarisk.api.model.State.Field
Returns an array containing the constants of this enum type, in the order they are declared.
VariableObservation - Class in com.agenarisk.api.model
VariableObservation class is a view of a node variable observation, valid at the time of resolution and not maintained.
VariableObservation(Observation, DataSet, Node) - Constructor for class com.agenarisk.api.model.VariableObservation
Constructor for VariableObservation.
VersionApi - Class in com.agenarisk.api.util
This class provides means to retrieve the version of this build from manifest or .properties
VersionApi() - Constructor for class com.agenarisk.api.util.VersionApi
 

W

wrapArrayElements(JSONArray, String) - Static method in class com.agenarisk.api.util.JSONUtils
Wraps all elements of the provided JSONArray into JSONObjects that each contains the element under the provided key.

X

XMLAdapter - Class in com.agenarisk.api.io
Converts AgenaRisk Model JSON structure into an equivalent AgenaRisk Model XML structure and vice-versa.
XMLAdapter() - Constructor for class com.agenarisk.api.io.XMLAdapter
 
xmlToJson(String) - Static method in class com.agenarisk.api.io.XMLAdapter
Parses XML string to JSONObject and then formats the JSONObject to conform to AgenaRisk 10 JSON model format.
A B C D E F G H I J L M N O P R S T U V W X 
Skip navigation links

Copyright © 2020. All rights reserved.