public class IdentityDistanceMetric extends AbstractCloneableSerializable implements Metric<java.lang.Object>
| Constructor and Description |
|---|
IdentityDistanceMetric()
Creates a new
IdentityDistanceMetric. |
| Modifier and Type | Method and Description |
|---|---|
double |
evaluate(java.lang.Object first,
java.lang.Object second)
Evaluates the divergence between the two given objects.
|
clonepublic IdentityDistanceMetric()
IdentityDistanceMetric.public double evaluate(java.lang.Object first,
java.lang.Object second)
DivergenceFunctionevaluate in interface DivergenceFunction<java.lang.Object,java.lang.Object>first - The first object.second - The second object.