Changeset 930
- Timestamp:
- 02/09/2011 05:10:39 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
AgentMind/branches/FAtiMA-Modular/AgentLauncher/src/AgentLauncher.java
r922 r930 10 10 import FAtiMA.Core.exceptions.GoalLibParsingException; 11 11 import FAtiMA.Core.exceptions.UnknownGoalException; 12 import FAtiMA.Core.util.ConfigurationManager; 13 import FAtiMA.ToM.ToMComponent; 14 import FAtiMA.culture.CulturalDimensionsComponent; 12 15 import FAtiMA.motivationalSystem.MotivationalComponent; 16 import FAtiMA.socialRelations.SocialRelationsComponent; 13 17 14 18 public class AgentLauncher { … … 28 32 AgentCore aG = initializeAgentCore(args); 29 33 ArrayList<String> extraFiles = new ArrayList<String>(); 30 //String cultureFile = ConfigurationManager.getMindPath() + ConfigurationManager.getAgentProperties().get("cultureName") + ".xml";34 String cultureFile = ConfigurationManager.getMindPath() + ConfigurationManager.getAgentProperties().get("cultureName") + ".xml"; 31 35 32 36 if (!aG.getAgentLoad()) 33 37 { 34 //extraFiles.add(cultureFile);35 //aG.addComponent(new CulturalDimensionsComponent(cultureFile));36 //aG.addComponent(new SocialRelationsComponent(extraFiles));37 //aG.addComponent(new MotivationalComponent(extraFiles));38 //aG.addComponent(new ToMComponent(ConfigurationManager.getName()));38 extraFiles.add(cultureFile); 39 aG.addComponent(new SocialRelationsComponent(extraFiles)); 40 aG.addComponent(new MotivationalComponent(extraFiles)); 41 aG.addComponent(new CulturalDimensionsComponent(cultureFile)); 42 aG.addComponent(new ToMComponent(ConfigurationManager.getName())); 39 43 //aG.addComponent(new AdvancedMemoryComponent()); 40 44 }
Note: See TracChangeset
for help on using the changeset viewer.