Examples of implantBrain()


Examples of eas.simulation.spatial.sim2D.standardAgents.wandaRobot.WandaAgent.implantBrain()

        new File("eas/users/students/danielFunke/wandaTest/pointer.xml")));
    pointer.addActuator(new APOINTTO());
    env.addCollidingAgent(pointer, new Vector2D(-100,100), 0, null);
   
    WandaAgent mover = new WandaAgent(1, env, params);
    mover.implantBrain(new MDL2eBrain<AbstractAgent2D<?>>(mover,
        new File("eas/users/students/danielFunke/wandaTest/mover.xml")));
    mover.addActuator(new APOINTTO());
    env.addCollidingAgent(mover, Vector2D.NULL_VECTOR, 0, null);
   
    /*Random rand = new Random(params.getSeed());
View Full Code Here

Examples of eas.simulation.spatial.sim2D.standardAgents.wandaRobot.WandaAgent.implantBrain()

   
    env.addScene(new ObstacleRectangularScene(1, params, rand));
   
    for (int i = 0; i < 10; i++) {
      WandaAgent agent = new WandaAgent(i, env, params);
      agent.implantBrain(new MDL2eBrain<AbstractAgent2D<?>>(agent,
          new File("eas/users/students/danielFunke/wolfSheep/sheep.xml")));
      agent.addActuator(new AFLOCK());
      agent.addActuator(new AFLEE());
     
      env.addCollidingAgent(
View Full Code Here

Examples of eas.simulation.spatial.sim2D.standardAgents.wandaRobot.WandaAgent.implantBrain()

     
    }
   
    for (int i = 0; i < 4; i++) {
      WandaAgent agent = new WandaAgent(i, env, params);
      agent.implantBrain(new MDL2eBrain<AbstractAgent2D<?>>(agent,
          new File("eas/users/students/danielFunke/wolfSheep/wolf.xml")));
      agent.addActuator(new AHUNT());
     
      env.addCollidingAgent(
          agent,
View Full Code Here

Examples of eas.simulation.spatial.sim2D.standardAgents.wandaRobot.WandaAgent.implantBrain()

   
    Random rand = new Random(params.getSeed());
    for (int i = 0; i < 10; i++) {
      WandaAgent agent = new WandaAgent(i, env, params);
     
      agent.implantBrain(new MDL2eBrain<AbstractAgent2D<?>>(agent, new File("eas/users/tolulo/move2.xml")));
           
      env.addCollidingAgent(agent,
          new Vector2D(rand.nextInt(1000), rand.nextInt(1000)),
          rand.nextInt(360), new Vector2D(0.5,0.5));
    }
View Full Code Here

Examples of eas.simulation.spatial.sim2D.standardAgents.wandaRobot.WandaAgent.implantBrain()

        env.addScene(scene);

        Random rand = new Random(params.getSeed());
        for (int i = 0; i < 5; i++) {
            WandaAgent agent = new WandaAgent(i, env, params);
            agent.implantBrain(new MDL2eBrain<AbstractAgent2D<?>>(agent,
                    new File("eas/users/daniel/wandaTest/atomtest.xml")));
            agent.addActuator(new AATOMTEST());
            env.addCollidingAgent(agent,
                    new Vector2D(rand.nextInt(1000), rand.nextInt(1000)),
                    rand.nextInt(360));
View Full Code Here

Examples of eas.users.lukas.evolvableNeuroGPM.NeuroAgent.implantBrain()

    public AbstractEnvironment2DFast<?>[] generateRunnables(
            ParCollection params) {
        GateEnvironment env = new GateEnvironment(0, params);
        NeuroAgent agent = new NeuroAgent(0, env, params);
        NeuroBrain<NeuroAgent> brain = new NeuroBrain<NeuroAgent>(agent, params);
        agent.implantBrain(brain);
        env.addCollidingAgent(agent, Vector2D.NULL_VECTOR, 10, new Vector2D(20, 20));
       
        return new AbstractEnvironment2DFast<?>[] {env};
    }
View Full Code Here

Examples of eas.users.students.fabian.diplomarbeit.EvolvableBoxAgents3D.Agents.EvolvableBoxAgent3D.implantBrain()

          ainfo.getFreeAxis());//.hashCode();
    }

    EvoBoxNeuroBrain brain = new EvoBoxNeuroBrain(agent, agent.id(),
        new Random(), genome.getSparseNet().createOffspring(agentId));
    agent.implantBrain(brain);

    return agent;
  }

  /**
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.