|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.stanford.nlp.classify.ProbabilitySet
This class manipulates an array of ClassProbabilities.
Constructor Summary | |
ProbabilitySet(int size)
Constructor |
Method Summary | |
void |
addProb(ClassProbability next)
Inserts the ClassProbability next |
void |
foldIn(ProbabilitySet ps)
Merges ProbabilitySet ps with me |
ClassProbability |
getClassProbability(int index)
Returns the ClassProbability stored at index "index". |
int |
getSize()
Returns the size of this ProbabilitySet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ProbabilitySet(int size)
Method Detail |
public ClassProbability getClassProbability(int index)
public void addProb(ClassProbability next)
public int getSize()
public void foldIn(ProbabilitySet ps)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |