Module logicng

Class MinFillDTreeGenerator.Graph

    • Field Detail

      • numberOfVertices

        protected final int numberOfVertices
      • adjMatrix

        protected final boolean[][] adjMatrix
        The adjacency matrix (which is symmetric since the graph is undirected)
      • vertices

        protected final List<Variable> vertices
        The list of vertices
      • edgeList

        protected final List<LNGIntVector> edgeList
        The edges of the graph as a list of edges per node ({{2,3},{1},{1}} means that there are the edges 1-2 and 1-3)
    • Constructor Detail

      • Graph

        public Graph​(Formula cnf)
        Computes the DTree from the given CNF.
        Parameters:
        cnf - the CNF
    • Method Detail

      • getCopyOfAdjMatrix

        protected boolean[][] getCopyOfAdjMatrix()
      • getMinFillOrdering

        protected List<Variable> getMinFillOrdering()