Class TwoLabelGEConstraints.TwoLabelGEConstraint

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected double count  
      protected double[][] expectation  
      protected double[][] target  
      protected double weight  
    • Constructor Summary

      Constructors 
      Constructor Description
      TwoLabelGEConstraint​(double[][] target, double weight)  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract double getValue​(int liPrev, int liCurr)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • target

        protected double[][] target
      • expectation

        protected double[][] expectation
      • count

        protected double count
      • weight

        protected double weight
    • Constructor Detail

      • TwoLabelGEConstraint

        public TwoLabelGEConstraint​(double[][] target,
                                    double weight)
    • Method Detail

      • getValue

        public abstract double getValue​(int liPrev,
                                        int liCurr)