Package ai.platon.pulsar.common
Class FuzzyTracker
-
- All Implemented Interfaces:
public class FuzzyTracker<T extends Comparable<T>>FuzzyTracker class.
-
-
Constructor Summary
Constructors Constructor Description FuzzyTracker()
-
Method Summary
Modifier and Type Method Description intsize()booleanisEmpty()doubleremove(T t)voidclear()doubleget(T t)voidset(T t, FuzzyProbability p)voidset(T t, double sim)doubleinc(T t, double sim)doubledec(T t, double sim)TprimaryKey()Set<T>keySet()Set<T>keySet(FuzzyProbability p)booleanis(T key, FuzzyProbability p)booleanmaybe(T key)booleanveryLikely(T key)booleanmustBe(T key)booleancertainly(T key)StringtoString()-
-
Method Detail
-
size
int size()
-
isEmpty
boolean isEmpty()
-
clear
void clear()
-
set
void set(T t, FuzzyProbability p)
-
primaryKey
T primaryKey()
-
keySet
Set<T> keySet(FuzzyProbability p)
-
is
boolean is(T key, FuzzyProbability p)
-
veryLikely
boolean veryLikely(T key)
-
-
-
-