Exemplo n.º 1
0
 //main method
 public void Run()
 {
     DataFeeder feed = new DataFeeder();
     CheckBalanced(feed.GetUnbalancedTree());
 }
Exemplo n.º 2
0
        //main method
        public void Run()
        {
            DataFeeder feed = new DataFeeder();

            //A>B>C>E>F; E>D>B
            bool canRoute = RouteDFS("A", "D", feed.GetSampleGraph1());

            Console.WriteLine("can routed: {0}", canRoute);
        }