public abstract class IndexConsumer
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected DynamicWeights |
weights_ |
| Constructor and Description |
|---|
IndexConsumer(DynamicWeights weights,
SymbolTable<Feature> feature_map,
boolean insert,
int num_tag_bits) |
| Modifier and Type | Method and Description |
|---|---|
void |
consume(Encoder encoder,
java.util.List<java.lang.Integer> tags) |
abstract void |
consume(int index) |
SymbolTable<Feature> |
getFeatureTable() |
protected boolean |
getInsert() |
DynamicWeights |
getWeights() |
void |
setInsert(boolean insert) |
void |
setWeights(DynamicWeights weights) |
protected DynamicWeights weights_
public IndexConsumer(DynamicWeights weights, SymbolTable<Feature> feature_map, boolean insert, int num_tag_bits)
public abstract void consume(int index)
public void consume(Encoder encoder, java.util.List<java.lang.Integer> tags)
public void setWeights(DynamicWeights weights)
public DynamicWeights getWeights()
public SymbolTable<Feature> getFeatureTable()
protected boolean getInsert()
public void setInsert(boolean insert)