Module datarush.analytics
Class ConstantPredicate
java.lang.Object
com.pervasive.datarush.analytics.decisiontree.Predicate
com.pervasive.datarush.analytics.decisiontree.ConstantPredicate
Corresponds to the
True and False PMML elements.-
Constructor Summary
Constructors -
Method Summary
-
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
-