Class ParameterReference


  • public final class ParameterReference
    extends Object
    References a parameter in a node distribution.
    • Constructor Detail

      • ParameterReference

        public ParameterReference​(Node node,
                                  State[] states)
        Initializes a new instance of the ParameterReference 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 the ParameterReference 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.