FirstType
- First class to considerSecondType
- Second class to consider@CodeReview(reviewer="Kevin R. Dixon",date="2008-02-26",changesNeeded=false,comments="Looks good.") @CodeReview(reviewer="Jonathan McClain",date="2006-05-16",changesNeeded=false,comments="Looks good.") public interface DivergenceFunction<FirstType,SecondType>
DivergenceFunction
implement
CloneableSerializable
, though it is not required.Modifier and Type | Method and Description |
---|---|
double |
evaluate(FirstType first,
SecondType second)
Evaluates the divergence between the two given objects.
|
double evaluate(FirstType first, SecondType second)
first
- The first object.second
- The second object.