Examples of GateEnvironment


Examples of eas.users.lukas.marbImplicitEvolution.gateEnvironment.GateEnvironment

    private static final long serialVersionUID = 7684768374954237509L;

    @Override
    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.lukas.marbImplicitEvolution.gateEnvironment.GateEnvironment

    private static final long serialVersionUID = 6454111675027283098L;

    @Override
    public AbstractEnvironment2DFast<?>[] generateRunnables(
            ParCollection params) {
        GateEnvironment env = new GateEnvironment(0, params);
        for (int i = 0; i < 15; i++) {
            NeuroAgent agent = new NeuroAgent(i, env, params);
            NeuroBrain<NeuroAgent> brain = new NeuroBrain<NeuroAgent>(agent, params);
            agent.implantBrain(brain);
            env.addCollidingAgent(agent, new Vector2D(i * 40 - 500, i * 40 - 500), 10, new Vector2D(20, 20));
        }
       
        return new AbstractEnvironment2DFast<?>[] {env};
    }
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.