示例#1
0
        /** Calculate the SCCs for Graph graph and save in result. */
        public static void calculateSCCs(NBA graph, SCCs result, bool disjoint, APElement label) //, SuccessorAccess& successor_access
        {
            SCC_DFS scc_dfs = new SCC_DFS(graph, result, label);

            scc_dfs.calculate(disjoint);
        }
示例#2
0
 //, SuccessorAccess& successor_access
 /** Calculate the SCCs for Graph graph and save in result. */
 public static void calculateSCCs(NBA graph, SCCs result, bool disjoint, APElement label)
 {
     SCC_DFS scc_dfs = new SCC_DFS(graph, result, label);
     scc_dfs.calculate(disjoint);
 }
示例#3
0
        /** Calculate the SCCs for Graph graph and save in result. */
        //public static void calculateSCCs(NBA graph, SCCs result)
        //{
        //    calculateSCCs(graph, result, false);
        //}

        /** Calculate the SCCs for Graph graph and save in result. */
        public static void calculateSCCs(NBA graph, SCCs result, bool disjoint, APElement label)
        {                                                          // =false, SuccessorAccess successor_access=SuccessorAccess()
            SCC_DFS.calculateSCCs(graph, result, disjoint, label); //, successor_access
        }