cz.cuni.amis.pogamut.ut2004.agent.navigation
Interface IUT2004PathRunner

Package class diagram package IUT2004PathRunner
All Known Implementing Classes:
KefikRunner, LoqueRunner

public interface IUT2004PathRunner

Runner is actually responsible for running directly between two locations.

Author:
Jimmy

Method Summary
 void reset()
          Resets the runner state.
 boolean runToLocation(Location runningFrom, Location firstLocation, Location secondLocation, ILocated focus, NavPointNeighbourLink navPointsLink, boolean reachable)
          Called iteratively to reach the 'firstLocation'.
 

Method Detail

reset

void reset()
Resets the runner state.

Called before the navigator turns its attention to another location.


runToLocation

boolean runToLocation(Location runningFrom,
                      Location firstLocation,
                      Location secondLocation,
                      ILocated focus,
                      NavPointNeighbourLink navPointsLink,
                      boolean reachable)
Called iteratively to reach the 'firstLocation'. This method should get the bot to the 'firstLocation'.

The 'secondLocation' is the location that will most likely be pursued next.

Parameters:
runningFrom - location we're running from (i.e., where the bot may safely return), may be null
firstLocation - where the bot should run to
secondLocation - where the bot will the most likely continue its run
focus - where the bot should be looking while running
navPointsLink - if we are traveling between two NavPoints connected by a link, we will receive the link with movement information here
Returns:


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.