Class KNumXOperatorTanY


  • public class KNumXOperatorTanY
    extends KConstraint
    This class creates a X {==,<=,>=} tan(Y) constraint

    Example :
    
    KNumVar X(...);
    KNumVar Y(...);
    // ...
    problem.post(KNumXOperatorTanY(X, Y, GEQ));
    

    Since:
    2016.1
    See Also:
    KConstraint

    • Constructor Detail

      • KNumXOperatorTanY

        protected KNumXOperatorTanY​(long cPtr,
                                    boolean cMemoryOwn)
      • KNumXOperatorTanY

        public KNumXOperatorTanY​(KNumVar v1,
                                 KNumVar v2,
                                 int op)
        Primary constructor of v1 [op] tan( v2 )

        Parameters:
        v1 - the v1 variable
        v2 - the v2 variable
        op - operator for the constraint (GEQ, LEQ, EQ)
      • KNumXOperatorTanY

        public KNumXOperatorTanY​(KNumXOperatorTanY toCopy)
        Copy constructor