Class QueryFunctionOutput

  • All Implemented Interfaces:
    Cloneable

    public final class QueryFunctionOutput
    extends Object
    implements Cloneable
    A class whose value holds the result of a function evaluation, populated during a query.
    • Constructor Detail

      • QueryFunctionOutput

        public QueryFunctionOutput​(Variable variable)
        Initializes a new instance of the com.bayesserver.QueryFunctionOutput class.
        Parameters:
        variable - The function variable to evaluate.
    • Method Detail

      • copy

        public QueryFunctionOutput copy()
        Creates a copy of this instance.
        Returns:
        A copy of this instance.
      • getValue

        public Object getValue()
        Holds the result of a function evaluation at query time.
      • setValue

        public void setValue​(Object value)
        Holds the result of a function evaluation at query time.
      • getVariable

        public Variable getVariable()
        The function variable to evaluate.