A
- the type of activities being comparedIntegerComparator
, StdWorkComparator
public abstract class ActivityComparator<A>
extends java.lang.Object
compare(Object, Object)
that calculates a similarity
metric between to activities, and a threshold()
.Constructor | Description |
---|---|
ActivityComparator() |
Modifier and Type | Method | Description |
---|---|---|
abstract float |
compare(A act1,
A act2) |
Calculates a similarity metric between two activities.
|
abstract int |
threshold() |
A (non-inclusive) threshold on the similarity metric that defines
matching activities.
|