Class MaximalCliquesEnumeratorAbstract

    • Constructor Detail

      • MaximalCliquesEnumeratorAbstract

        public MaximalCliquesEnumeratorAbstract()
        Default constructor.
    • Method Detail

      • maximalCliquesIter

        public <V,​E> Iterator<Set<V>> maximalCliquesIter​(Graph<V,​E> g)
        Description copied from interface: MaximalCliquesEnumerator
        Iterate over all maximal cliques in a graph.

        The input graph should not be changed during the iteration.

        If g is IntGraph, the returned iterator will be iterate over IntSet.

        Specified by:
        maximalCliquesIter in interface MaximalCliquesEnumerator
        Type Parameters:
        V - the vertices type
        E - the edges type
        Parameters:
        g - a graph
        Returns:
        an iterator that iterates over all maximal cliques in the graph