示例#1
0
 public DigraghCycle(Digragh g)
 {
     dfs = new CycleDFS(g);
 }
示例#2
0
        public bool HasCycle()
        {
            var dfs = new CycleDFS(g);

            return dfs.HasCycle();
        }