Example #1
0
 // Agent
 public Agent getAgent() {
   //        return a(getParameterValue("-ag"));      }
   if (agent == null) {
     agent = AgentsPool.load(getParameterValue("-ag"));
     //            System.out.println("Info: Agent not specified. Default " + agent.getName() + "
     // has been used instead");
   }
   return agent;
 }
 public static void main(String[] args) {
   Agent controller = AgentsPool.load(args[0]);
   final int startingSeed = Integer.parseInt(args[1]);
   score(controller, startingSeed);
   System.exit(0);
 }
Example #3
0
 public void setAgent(String agentWOXorClassName) {
   this.agent = AgentsPool.load(agentWOXorClassName);
 }