env.addCollidingAgent(new ObstacleAgent(0, null, null), new Vector2D(-1510, 0), 90, new Vector2D(6,1));
// vertikaler Balken rechts
env.addCollidingAgent(new ObstacleAgent(0, null, null), new Vector2D(1510, 0), 90, new Vector2D(6,1));
// Erzeugen der Agenten und Verhaltensuebertragung
WandaAgent agent1 = new WandaAgent(0, env, params);
agent1.addActuator(new aBerechnungSwarmSimulation());
String fileName = SwarmScheduler.class.getPackage().getName().replace(".", "/")
+ "/swarmSimulation.xml";
agent1.implantBrain(new MDL2eBrain<AbstractAgent2D<?>>(agent1, new File(fileName)));
env.addCollidingAgent(agent1, new Vector2D(0,0), 80, new Vector2D(1,1));
WandaAgent agent2 = new WandaAgent(0, env, params);
agent2.addActuator(new aBerechnungSwarmSimulation());
agent2.implantBrain(new MDL2eBrain<AbstractAgent2D<?>>(agent2, new File(fileName)));
env.addCollidingAgent(agent2, new Vector2D(100,0), 80, new Vector2D(1,1));
WandaAgent agent3 = new WandaAgent(0, env, params);
agent3.addActuator(new aBerechnungSwarmSimulation());
agent3.implantBrain(new MDL2eBrain<AbstractAgent2D<?>>(agent3, new File(fileName)));
env.addCollidingAgent(agent3, new Vector2D(100,150), 80, new Vector2D(1,1));
return new WandaEnvironment[] {env};
}