Beispiel #1
0
        private static void printWorkload(ExecutedScenario executedScenario)
        {
            Console.WriteLine("FullfilledRequests:");
            Console.WriteLine(executedScenario.getFulfilledRequests());
            Console.WriteLine("LocationWorkload: \t Count:" + executedScenario.getLocationWorkload().Count);
            foreach (double item in executedScenario.getLocationWorkload())
            {
                Console.WriteLine(item);
            }

            Console.WriteLine("StationWorkload: \t CountLists:" + executedScenario.getStationWorkload().Count);
            Console.WriteLine("StationWorkloads:");
            foreach (List <double> list in executedScenario.getStationWorkload())
            {
                Console.WriteLine("NewStation:");
                foreach (double item in executedScenario.getLocationWorkload())
                {
                    Console.WriteLine(item);
                }
            }
        }
Beispiel #2
0
        private static void printScenarioDetail(ExecutedScenario s)
        {
            Console.WriteLine("Generierte Buchungen: ");
            printDetailedBookingList(s.generatedBookings, 0);
            Console.WriteLine("Davon akzeptierte Buchungen: ");
            printDetailedBookingList(s.location.schedule.bookings, 0);

            Console.WriteLine("Location workload:");
            foreach (double d in s.getLocationWorkload())
            {
                Console.Write(d.ToString() + ", ");
            }
            Console.WriteLine("");
        }