cc.mallet.fst.semi_supervised.constraints
Class OneLabelL2GEConstraints.OneLabelGEL2Constraint

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

protected class OneLabelL2GEConstraints.OneLabelGEL2Constraint
extends OneLabelGEConstraints.OneLabelGEConstraint


Field Summary
 
Fields inherited from class cc.mallet.fst.semi_supervised.constraints.OneLabelGEConstraints.OneLabelGEConstraint
count, expectation, target, weight
 
Constructor Summary
OneLabelL2GEConstraints.OneLabelGEL2Constraint(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

OneLabelL2GEConstraints.OneLabelGEL2Constraint

public OneLabelL2GEConstraints.OneLabelGEL2Constraint(double[] target,
                                                      double weight)
Method Detail

getValue

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