Class ConstantPredicate

java.lang.Object
com.pervasive.datarush.analytics.decisiontree.Predicate
com.pervasive.datarush.analytics.decisiontree.ConstantPredicate

public final class ConstantPredicate extends Predicate
Corresponds to the True and False PMML elements.
  • Constructor Details

    • ConstantPredicate

      public ConstantPredicate(boolean value)
      Create a new constant predicate
      Parameters:
      value - The value of the constant.
  • Method Details

    • getValue

      public boolean getValue()
      Returns the value of the constant
      Returns:
      the value of the constant
    • setValue

      public void setValue(boolean value)
      Sets the value of the constant
      Parameters:
      value - the value of the constant