mas.agents0815.doIt
Class DoProbeInZone

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

public class DoProbeInZone
extends java.lang.Object


Constructor Summary
DoProbeInZone(java.util.Collection<apltk.interpreter.data.LogicBelief> b, java.util.Collection<apltk.interpreter.data.LogicGoal> g)
           
 
Method Summary
 eis.iilang.Action doIt(SubsumptionAgent agent)
          finds all unprobed vertices within the zones, find a route to the nearest of those and returns the first step towards it
 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

DoProbeInZone

public DoProbeInZone(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(SubsumptionAgent agent)
finds all unprobed vertices within the zones, find a route to the nearest of those and returns the first step towards it

Parameters:
beliefs - and goals
Returns:
the first step towards the nearest unprobed vertex in the zone
See Also:
processAction


Copyright © 2011. All Rights Reserved.