예제 #1
0
 public static bool isStonglyConnected(this DiGraph dg,int first,int second)
 {
     KosarajuSCC scc=new KosarajuSCC(dg);
     return scc.stronglyConnected(first, second);
 }
예제 #2
0
        public static bool isStonglyConnected(this DiGraph dg, int first, int second)
        {
            KosarajuSCC scc = new KosarajuSCC(dg);

            return(scc.stronglyConnected(first, second));
        }