Class KConstraint

java.lang.Object
com.artelys.kalis.KConstraint
Direct Known Subclasses:
KAbs, KACBinConstraint, KACBinTableConstraint, KAllDifferent, KConditionNumLinComb, KConjunction, KCumulativeResourceConstraint, KCumulativeResourceConstraintResourceUsage, KCycle, KDisjunction, KDistanceEqualXyc, KDistanceGreaterThanXyc, KDistanceLowerThanXyc, KDistanceNotEqualXyc, KElement, KElement2D, KEqualXc, KEqualXyc, KEquiv, KGeneralizedArcConsistencyConstraint, KGeneralizedArcConsistencyTableConstraint, KGlobalCardinalityConstraint, KGreaterOrEqualXc, KGreaterOrEqualXyc, KGuard, KLessOrEqualXc, KLinComb, KMax, KMin, KNotEqualXc, KNotEqualXyc, KNumDistanceEqualXyc, KNumDistanceGreaterThanXyc, KNumDistanceLowerThanXyc, KNumEqualXc, KNumEqualXYc, KNumEqualXYZ, KNumGreaterOrEqualXc, KNumGreaterOrEqualXyc, KNumLessOrEqualXc, KNumLinComb, KNumLowerOrEqualXyc, KNumNonLinearComb, KNumXEqualsAbsY, KNumXEqualsAtan2YZ, KNumXEqualsLnY, KNumXEqualsYArithPowC, KNumXEqualsYSquared, KNumXEqualsYTimesC, KNumXEqualsYTimesZ, KNumXOperatorACosY, KNumXOperatorASinY, KNumXOperatorATanY, KNumXOperatorCosY, KNumXOperatorExpY, KNumXOperatorLnY, KNumXOperatorSinY, KNumXOperatorTanY, KOccurrence, KTasksRankConstraint, KUnaryResourceConstraint, KUserConstraint, KUserNumConstraint, KXEqualYMinusZ

public class KConstraint extends Object
This class is an abstract interface for all constraints in Artelys Kalis

Since:
2016.1
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • KConstraint

      protected KConstraint(long cPtr, boolean cMemoryOwn)
    • KConstraint

      public KConstraint()
    • KConstraint

      public KConstraint(KProblem problem)
    • KConstraint

      public KConstraint(KConstraint toCopy)
  • Method Details

    • getCPtr

      protected static long getCPtr(KConstraint obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • delete

      public void delete()
    • getCopyPtr

      public KConstraint getCopyPtr()
    • getInstanceCopyPtr

      public KConstraint getInstanceCopyPtr(KProblem problem)
    • getInstance

      public KConstraint getInstance(long pb)
    • getProblem

      public KProblem getProblem()
    • print

      public void print()
    • print

      public void print(com.artelys.kalis.SWIGTYPE_p_void ctx, com.artelys.kalis.SWIGTYPE_p_f_p_void_p_q_const__char__int pfp)
    • getTypeInfo

      public int getTypeInfo()
    • setName

      public void setName(String arg0)
    • getName

      public String getName()
    • getArity

      public int getArity()
    • getTag

      public int getTag()
    • setTag

      public void setTag(int _tag)
    • getPriority

      public int getPriority()
    • setPriority

      public void setPriority(int priorite)
    • isGetLinearRelaxationImplemented

      public boolean isGetLinearRelaxationImplemented()
    • getLinearRelaxation

      public KLinearRelaxation getLinearRelaxation(int strategy)
    • getLinearRelaxation

      public KLinearRelaxation getLinearRelaxation()
    • askIfEntailed

      public int askIfEntailed()