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 theParameterReferenceclass .ParameterReference(Node node, State[] states)Initializes a new instance of theParameterReferenceclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeDistributionKeygetKey()Gets the of the node's distribution being referenced.NodegetNode()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 theParameterReferenceclass. 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 theParameterReferenceclass .- 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.
-
-