com.pawjaw.classification.crf.lmcbt.points
Class DensePoint

java.lang.Object
  extended by com.pawjaw.classification.crf.lmcbt.points.DensePoint
All Implemented Interfaces:
Point

public class DensePoint
extends java.lang.Object
implements Point


Constructor Summary
DensePoint()
           
 
Method Summary
 boolean hasTrueFeature(Configuration c, int feature_index)
           
 int nextTrueFeature(Configuration c, int offset)
           
 void setFeatures(boolean[] bs)
           
 int trueFeatureCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DensePoint

public DensePoint()
Method Detail

setFeatures

public void setFeatures(boolean[] bs)
Specified by:
setFeatures in interface Point

hasTrueFeature

public boolean hasTrueFeature(Configuration c,
                              int feature_index)
Specified by:
hasTrueFeature in interface Point

nextTrueFeature

public int nextTrueFeature(Configuration c,
                           int offset)
Specified by:
nextTrueFeature in interface Point

trueFeatureCount

public int trueFeatureCount()
Specified by:
trueFeatureCount in interface Point