예제 #1
0
        public void DisplayPostOrder()
        {
            var orderedList = new List <T>();

            DisplayPostOrder(Root, orderedList);
            PrintHelpers.Print(orderedList, " ");
        }
예제 #2
0
        public static void Print <T>(
            this IGenAdvanced <T> advanced,
            int?iterations         = null,
            int?seed               = null,
            int?size               = null,
            Action <string>?stdout = null)
        {
            var sample = advanced.SamplePresentationalWithMetrics(
                iterations: iterations,
                seed: seed,
                size: size);

            PrintHelpers.Print(sample.Values, sample.Discards, stdout);
        }