|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object aima.util.FrequencyCounter<T>
public class FrequencyCounter<T>
Constructor Summary | |
---|---|
FrequencyCounter()
|
Method Summary | |
---|---|
java.lang.Integer |
getCount(T key)
|
java.util.Set<T> |
getStates()
|
void |
incrementFor(T key)
|
java.lang.Double |
probabilityOf(T key)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FrequencyCounter()
Method Detail |
---|
public java.lang.Integer getCount(T key)
public void incrementFor(T key)
public java.lang.Double probabilityOf(T key)
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Set<T> getStates()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |