protected virtual SocialScenario CreateTestProfile( uint testType, FoodSharingGPAgent agent, FoodSharingEnvironment environment, string envConfigFile, uint numAgents, uint maxStates, bool strongerAgent, string agentImgPrefix, uint numFoodResources, uint maxStepsWithoutEating, double hungryReward) { return(new FoodSharingScenario(agent, environment, this) { FilePath = this.GetFilePath(testType), EnvironmentConfigFile = this.GetEnvironmentFilePath(envConfigFile), TestMeasuresFilePath = this.GetTestMeasuresFilePath(testType), NumAgents = numAgents, MaxStates = maxStates, StrongerAgent = strongerAgent, AgentImgPrefix = agentImgPrefix, NumFoodResources = numFoodResources, MaxStepsWithoutEating = maxStepsWithoutEating, HungryReward = hungryReward }); }
protected virtual SocialScenario CreateTestProfile( uint testType, ISocialAgent agent, FoodSharingEnvironment environment, string envConfigFile, uint numAgents, uint maxStates, bool strongerAgent, string agentImgPrefix, uint numFoodResources, uint maxStepsWithoutEating, double hungryReward, bool seeFoodFromAfar, bool soloHunting) { return(new FoodSharingScenario(agent, environment, this) { FilePath = this.GetFilePath(testType), EnvironmentConfigFile = this.GetEnvironmentFilePath(envConfigFile), TestMeasuresFilePath = this.GetTestMeasuresFilePath(testType), FitnessText = FITNESS_TEXT, NumAgents = numAgents, MaxStates = maxStates, StrongerAgent = strongerAgent, AgentImgPrefix = agentImgPrefix, NumFoodResources = numFoodResources, MaxStepsWithoutEating = maxStepsWithoutEating, HungryReward = hungryReward, SeeFoodFromAfar = seeFoodFromAfar, SoloHunting = soloHunting, PopulationFitnessFunction = new AvgMinStdDevPopFitFunction() }); }