Class Gci

  • All Implemented Interfaces:
    IGraph

    public class Gci
    extends Gi
    Constrained intersection graph
    Since:
    01/01/2014
    Author:
    Jean-Guillaume Fages
    • Constructor Detail

      • Gci

        public Gci​(IntVar[] X,
                   D D)
        Creates the constrained intersection graph of X and D
        Parameters:
        X - integer variables
        D - set of difference constraints
      • Gci

        public Gci​(IntVar[] X)
        Creates the constrained intersection graph of X and D by automatically detecting disequalities and allDifferent constraints.
        Parameters:
        X - integer variables
    • Method Detail

      • intersect

        protected boolean intersect​(int i,
                                    int j)
        Overrides:
        intersect in class Gi