예제 #1
0
        public void Initialize()
        {
            _environment.SetOrganization(_mainOrganization);
            _simulation.SetEnvironment(_environment);
            _environment.SetDebug(true);
            var scenario = TimeBasedScenario.CreateInstance(_environment);

            scenario.NumberOfSteps = NumberOfSteps;
            _simulation.AddScenario(scenario);
        }
예제 #2
0
        public void Initialize()
        {
            Knowledge.CreateInstance(_mainOrganization.ArtifactNetwork, _mainOrganization.Models, "1", 50);
            _environment.SetOrganization(_mainOrganization);
            _simulation.SetEnvironment(_environment);
            _environment.SetDebug(true);
            var scenario = TimeBasedScenario.CreateInstance(_environment);

            scenario.NumberOfSteps = 10;
            _simulation.AddScenario(scenario);
        }
예제 #3
0
        public void Initialize()
        {
            _environment.SetOrganization(_mainOrganization);
            _simulation.SetEnvironment(_environment);
            _environment.IterationResult.KnowledgeAndBeliefResults.Frequency = TimeStepType.Weekly;
            _environment.IterationResult.OrganizationFlexibility.Frequency   = TimeStepType.Weekly;

            _environment.SetDebug(true);
            var scenario = TimeBasedScenario.CreateInstance(_environment);

            scenario.NumberOfSteps = NumberOfSteps;
            _simulation.AddScenario(scenario);
        }
예제 #4
0
 public void Initialize()
 {
     _environment.SetOrganization(_mainOrganization);
     _simulation.SetEnvironment(_environment);
     _environment.SetDebug(true);
 }