Class KNumXOperatorACosY


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

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

    Since:
    2016.1
    See Also:
    KConstraint

    • Constructor Detail

      • KNumXOperatorACosY

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

        public KNumXOperatorACosY​(KNumVar v1,
                                  KNumVar v2,
                                  int op)
        Primary constructor of v1 [op] acos( v2 )

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

        public KNumXOperatorACosY​(KNumXOperatorACosY toCopy)
        Copy constructor