199200201202203204205206207208209
ahf = new H1(); break; default: ahf = new H2(); } return ahf.adaptToGoal(destinations.get(0), scenario .getAgentMap()); } /** * Creates a new agent and adds it to the scenario's environment.