Interface RuleValue<S extends java.lang.Comparable<S>,T extends RuleValue<S,T>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
shrink(Bound<S> bound)
Shrinks this rule value by removing those parts that are already covered by the given bound.
-
-
-
Method Detail
-
shrink
T shrink(Bound<S> bound)
Shrinks this rule value by removing those parts that are already covered by the given bound.The given bounds result from thresholds along paths in the decision tree. During classification those parts that are covered by these threshold need not to be checked again.
- Returns:
- Returns a shrunk rule value or
null
if this rule value is completely covered by the given bound.
-
-