Class Constant

java.lang.Object
smile.data.formula.Constant
All Implemented Interfaces:
Serializable, Term

public abstract class Constant extends Object implements Term
A constant value in the formula.
See Also:
  • Constructor Details

    • Constant

      public Constant()
  • Method Details

    • variables

      public Set<String> variables()
      Description copied from interface: Term
      Returns the set of variables used in this term.
      Specified by:
      variables in interface Term
      Returns:
      the set of variables used in this term.