mas.agents0815.doIt
Class DoPlanDefendRoute

java.lang.Object
  extended by mas.agents0815.doIt.DoPlanDefendRoute

public class DoPlanDefendRoute
extends java.lang.Object


Constructor Summary
DoPlanDefendRoute(java.util.Collection<apltk.interpreter.data.LogicBelief> b, java.util.Collection<apltk.interpreter.data.LogicGoal> g)
           
 
Method Summary
 eis.iilang.Action doIt(java.lang.String destination, SubsumptionAgent agent)
          calculate a route to the enemies position within the zone and return the first step no goal list filled as enemy agent may move
 java.util.Collection<apltk.interpreter.data.LogicBelief> getBeliefs()
           
 java.util.Collection<apltk.interpreter.data.LogicGoal> getGoals()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoPlanDefendRoute

public DoPlanDefendRoute(java.util.Collection<apltk.interpreter.data.LogicBelief> b,
                         java.util.Collection<apltk.interpreter.data.LogicGoal> g)
Method Detail

getBeliefs

public java.util.Collection<apltk.interpreter.data.LogicBelief> getBeliefs()

getGoals

public java.util.Collection<apltk.interpreter.data.LogicGoal> getGoals()

doIt

public eis.iilang.Action doIt(java.lang.String destination,
                              SubsumptionAgent agent)
calculate a route to the enemies position within the zone and return the first step no goal list filled as enemy agent may move

Parameters:
beliefs - and goals copy of SubsumptionAgent position of enemy agent
Returns:
the first step towards the enemy
See Also:
todo*


Copyright © 2012. All Rights Reserved.