Example #1
0
        public void TestShortestPath()
        {
            int[]         path = graph.ShortestPath(0).PathTo(6);
            StringBuilder sb   = new StringBuilder();

            foreach (int v in path)
            {
                sb.Append(v + " ");
            }
            TestContext.WriteLine(sb.ToString());
        }