public class ZeroFloatFeatureVector extends java.lang.Object implements FloatFeatureVector
| Constructor and Description |
|---|
ZeroFloatFeatureVector(int dim) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDim() |
double |
getDotProduct(FloatWeights weights,
int tag_index,
int offset) |
void |
updateFloatWeight(FloatWeights weights,
int tag_index,
int offset,
double update) |
public int getDim()
getDim in interface FloatFeatureVectorpublic void updateFloatWeight(FloatWeights weights, int tag_index, int offset, double update)
updateFloatWeight in interface FloatFeatureVectorpublic double getDotProduct(FloatWeights weights, int tag_index, int offset)
getDotProduct in interface FloatFeatureVector