Search in sources :

Example 1 with XYEnvironment

use of aima.core.environment.xyenv.XYEnvironment in project aima-java by aimacode.

the class XYEnvironmentTest method setUp.

@Before
public void setUp() {
    env = new XYEnvironment(10, 12);
    a = new MockAgent();
    env.addObjectToLocation(a, new XYLocation(3, 4));
}
Also used : MockAgent(aima.test.core.unit.agent.impl.MockAgent) XYEnvironment(aima.core.environment.xyenv.XYEnvironment) XYLocation(aima.core.util.datastructure.XYLocation) Before(org.junit.Before)

Aggregations

XYEnvironment (aima.core.environment.xyenv.XYEnvironment)1 XYLocation (aima.core.util.datastructure.XYLocation)1 MockAgent (aima.test.core.unit.agent.impl.MockAgent)1 Before (org.junit.Before)1