cc.mallet.fst.semi_supervised.constraints
Class OneLabelKLGEConstraints.OneLabelGEKLConstraint

java.lang.Object
  extended by cc.mallet.fst.semi_supervised.constraints.OneLabelGEConstraints.OneLabelGEConstraint
      extended by cc.mallet.fst.semi_supervised.constraints.OneLabelKLGEConstraints.OneLabelGEKLConstraint
Enclosing class:
OneLabelKLGEConstraints

protected class OneLabelKLGEConstraints.OneLabelGEKLConstraint
extends OneLabelGEConstraints.OneLabelGEConstraint


Field Summary
 
Fields inherited from class cc.mallet.fst.semi_supervised.constraints.OneLabelGEConstraints.OneLabelGEConstraint
count, expectation, target, weight
 
Constructor Summary
OneLabelKLGEConstraints.OneLabelGEKLConstraint(double[] target, double weight)
           
 
Method Summary
 double getValue(int li)
           
 
Methods inherited from class cc.mallet.fst.semi_supervised.constraints.OneLabelGEConstraints.OneLabelGEConstraint
getCount, getExpectation, getTarget, getWeight
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OneLabelKLGEConstraints.OneLabelGEKLConstraint

public OneLabelKLGEConstraints.OneLabelGEKLConstraint(double[] target,
                                                      double weight)
Method Detail

getValue

public double getValue(int li)
Specified by:
getValue in class OneLabelGEConstraints.OneLabelGEConstraint