Class Gi

  • All Implemented Interfaces:
    IGraph
    Direct Known Subclasses:
    Gci

    public class Gi
    extends G
    Intersection Graph
    Since:
    01/01/2014
    Author:
    Jean-Guillaume Fages
    • Constructor Detail

      • Gi

        public Gi​(IntVar[] X)
        Creates the intersection graph of X
        Parameters:
        X - integer variable
    • Method Detail

      • build

        public void build()
        Description copied from class: G
        Initialises the graph
        Specified by:
        build in class G
      • update

        public void update()
        Description copied from class: G
        Updates the graph
        Specified by:
        update in class G
      • update

        public void update​(int i)
        Specified by:
        update in class G
      • intersect

        protected boolean intersect​(int i,
                                    int j)