T
- Type of this impurity measure.public interface ImpurityMeasure<T extends ImpurityMeasure<T>> extends Comparable<T>, Serializable
Modifier and Type | Method and Description |
---|---|
T |
add(T measure)
Adds the given impurity to this.
|
default int |
compareTo(T o) |
double |
impurity()
Calculates impurity measure as a single double value.
|
T |
subtract(T measure)
Subtracts the given impurity for this.
|
double impurity()
T add(T measure)
measure
- Another impurity.T subtract(T measure)
measure
- Another impurity.default int compareTo(T o)
compareTo
in interface Comparable<T extends ImpurityMeasure<T>>
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019