public class IndexScorer extends IndexConsumer
weights_| Constructor and Description |
|---|
IndexScorer(DynamicWeights weights,
SymbolTable<Feature> feature_map,
int num_pos_bits) |
| Modifier and Type | Method and Description |
|---|---|
void |
consume(int index) |
protected boolean |
getInsert() |
double |
getScore() |
void |
reset() |
consume, setWeightspublic IndexScorer(DynamicWeights weights, SymbolTable<Feature> feature_map, int num_pos_bits)
public void reset()
public void consume(int index)
consume in class IndexConsumerpublic double getScore()
protected boolean getInsert()
getInsert in class IndexConsumer