Class KNumXOperatorCosY

java.lang.Object
com.artelys.kalis.KConstraint
com.artelys.kalis.KNumXOperatorCosY

public class KNumXOperatorCosY extends KConstraint
This class creates a X {==,<=,>=} cos(Y) constraint

Example :

KNumVar X(...);
KNumVar Y(...);
// ...
problem.post(KNumXOperatorCosY(X, Y, GEQ));


Since:
2016.1
See Also:
KConstraint

  • Constructor Details

    • KNumXOperatorCosY

      protected KNumXOperatorCosY(long cPtr, boolean cMemoryOwn)
    • KNumXOperatorCosY

      public KNumXOperatorCosY(KNumVar v1, KNumVar v2, int op)
      Primary constructor of v1 [op] cos( v2 )

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

      public KNumXOperatorCosY(KNumXOperatorCosY toCopy)
      Copy constructor
  • Method Details