public class TfDfWeight extends Object implements NodeWeight
| Constructor and Description |
|---|
TfDfWeight() |
TfDfWeight(float tf,
float df,
int docLen,
int numDocs,
float avgDocLen) |
public TfDfWeight()
public TfDfWeight(float tf,
float df,
int docLen,
int numDocs,
float avgDocLen)
public void add(NodeWeight o)
add in interface NodeWeightpublic float getScore()
getScore in interface NodeWeightpublic TfDfWeight multiply(float weight)
multiply in interface NodeWeight