|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.msu.cme.rdp.classifier.rrnaclassifier.GenusWordConditionalProb
class GenusWordConditionalProb
A GenusWordConditionalProb holds the index of the genus node, and the conditional probability that genus node contains the word.
Field Summary | |
---|---|
private int |
genusIndex
|
private float |
wordConditionalProb
|
Constructor Summary | |
---|---|
GenusWordConditionalProb(int index,
float prob)
Creates a new instance of GenusWordConditionalProb For a word indexed in wordConditionalProbIndexArr, it holds the index of the genus node, and the conditional probability that genus node contains the word. |
Method Summary | |
---|---|
(package private) int |
getGenusIndex()
Returns the index of the genus node |
(package private) float |
getProbability()
Returns the conditional probability that the genus node contains the word. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int genusIndex
private float wordConditionalProb
Constructor Detail |
---|
GenusWordConditionalProb(int index, float prob)
Method Detail |
---|
int getGenusIndex()
float getProbability()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |