Exemple #1
0
 private static void printStationWorkload(ExecutedScenario s)
 {
     foreach (List <double> station in s.getStationWorkload())
     {
         foreach (double d in station)
         {
             Console.Write(d.ToString() + "; ");
         }
         Console.WriteLine("\n");
     }
 }
Exemple #2
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);
                }
            }
        }