Package com.bayesserver.analysis
Class ParameterReference
- java.lang.Object
-
- com.bayesserver.analysis.ParameterReference
-
public final class ParameterReference extends Object
References a parameter in a node distribution.
-
-
Constructor Summary
Constructors Constructor Description ParameterReference(Node node, NodeDistributionKey key, State[] states)
Initializes a new instance of theParameterReference
class .ParameterReference(Node node, State[] states)
Initializes a new instance of theParameterReference
class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeDistributionKey
getKey()
Gets the of the node's distribution being referenced.Node
getNode()
Gets the node whose distribution parameter is being referenced.State[]
getStates()
Gets the states which together locate a specific parameter in the node's distribution.
-
-
-
Constructor Detail
-
ParameterReference
public ParameterReference(Node node, State[] states)
Initializes a new instance of theParameterReference
class. Key is assumed to be NodeDistribuionKey.Default.- Parameters:
node
- The node whose distribution parameter is being referenced.states
- The states which together locate a specific parameter in the node's distribution.
-
ParameterReference
public ParameterReference(Node node, NodeDistributionKey key, State[] states)
Initializes a new instance of theParameterReference
class .- Parameters:
node
- The node whose distribution parameter is being referenced.key
- Specifies which node distribution to reference.states
- The states which together locate a specific parameter in the node's distribution.
-
-
Method Detail
-
getNode
public Node getNode()
Gets the node whose distribution parameter is being referenced.
-
getKey
public NodeDistributionKey getKey()
Gets the of the node's distribution being referenced.
-
getStates
public State[] getStates()
Gets the states which together locate a specific parameter in the node's distribution.
-
-