Class KGeneralizedArcConsistencyTableConstraint


  • public class KGeneralizedArcConsistencyTableConstraint
    extends KConstraint
    This class implements a generic class for propagation of any n-ary constraint by generalized arc consistency \

    Since:
    2016.1
    See Also:
    KConstraint
    • Constructor Detail

      • KGeneralizedArcConsistencyTableConstraint

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

        public KGeneralizedArcConsistencyTableConstraint​(KIntVarArray vars,
                                                         KTupleArray tuples,
                                                         java.lang.String name)
        Constructor.
        This constructor takes three arguments
        Parameters:
        vars - is the list of variables in the table constraint
        tuples - is the list of tuples allowed by the constraint
        name - label for pretty printing of the constraint
      • KGeneralizedArcConsistencyTableConstraint

        public KGeneralizedArcConsistencyTableConstraint​(KIntVarArray vars,
                                                         KTupleArray tuples)
        Constructor.
        This constructor takes three arguments
        Parameters:
        vars - is the list of variables in the table constraint
        tuples - is the list of tuples allowed by the constraint