Ejemplo n.º 1
0
        public static void RunExperiment(IExperiment exp)
        {
            LoggerInitialization.SetThreshold(typeof(SingleDistributionExperiment), LogLevel.Debug);
            LoggerInitialization.SetThreshold(typeof(Main_SingleDistributionExperiment), LogLevel.Debug);
            LoggerInitialization.SetThreshold(typeof(Agent1x0), LogLevel.Debug);
            LoggerInitialization.SetThreshold(typeof(AbstractExperiment), LogLevel.Debug);
            //LoggerInitialization.SetThreshold(typeof(AbstractAgent), LogLevel.Debug);

            //LoggerInitialization.SetThreshold(typeof(AbstractAgentFactory), LogLevel.Debug);
            //LoggerInitialization.SetThreshold(typeof(PopulationFactory), LogLevel.Debug);
            //LoggerInitialization.SetThreshold(typeof(SingleDistributionExperiment), LogLevel.Debug);


            Console.WriteLine("Running simulation...");
            exp.run();
            Console.WriteLine("Completed.");
        }