cc.mallet.fst.semi_supervised.constraints
Class TwoLabelKLGEConstraints.TwoLabelKLGEConstraint

java.lang.Object
  extended by cc.mallet.fst.semi_supervised.constraints.TwoLabelGEConstraints.TwoLabelGEConstraint
      extended by cc.mallet.fst.semi_supervised.constraints.TwoLabelKLGEConstraints.TwoLabelKLGEConstraint
Enclosing class:
TwoLabelKLGEConstraints

protected class TwoLabelKLGEConstraints.TwoLabelKLGEConstraint
extends TwoLabelGEConstraints.TwoLabelGEConstraint


Field Summary
 
Fields inherited from class cc.mallet.fst.semi_supervised.constraints.TwoLabelGEConstraints.TwoLabelGEConstraint
count, expectation, target, weight
 
Constructor Summary
TwoLabelKLGEConstraints.TwoLabelKLGEConstraint(double[][] target, double weight)
           
 
Method Summary
 double getValue(int liPrev, int liCurr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TwoLabelKLGEConstraints.TwoLabelKLGEConstraint

public TwoLabelKLGEConstraints.TwoLabelKLGEConstraint(double[][] target,
                                                      double weight)
Method Detail

getValue

public double getValue(int liPrev,
                       int liCurr)
Specified by:
getValue in class TwoLabelGEConstraints.TwoLabelGEConstraint