cz.cuni.amis.pogamut.ut2004.navigation.evaluator.bot
Class Path

Package class diagram package Path
java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.navigation.evaluator.bot.Path

public class Path
extends Object

Represents path for evaluation. Contains start and end point.

Author:
Bogo

Constructor Summary
Path(NavPoint start, NavPoint end)
          Creates path with given start and end point.
 
Method Summary
 void computeMetrics(cz.cuni.amis.pogamut.base.agent.navigation.IPathFuture<cz.cuni.amis.pogamut.base3d.worldview.object.ILocated> path)
           
 NavPoint getEnd()
           
 String getId()
          Get ID of the path.
 int getJumps()
           
 double getLength()
           
 int getLifts()
           
 NavPoint getStart()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Path

public Path(NavPoint start,
            NavPoint end)
Creates path with given start and end point.

Parameters:
start - Start point of path.
end - End point of path.
Method Detail

getStart

public NavPoint getStart()

getEnd

public NavPoint getEnd()

getId

public String getId()
Get ID of the path. ID is in format [ID of start]-[ID of end].

Returns:
ID of this path.

getLength

public double getLength()

getJumps

public int getJumps()

getLifts

public int getLifts()

computeMetrics

public void computeMetrics(cz.cuni.amis.pogamut.base.agent.navigation.IPathFuture<cz.cuni.amis.pogamut.base3d.worldview.object.ILocated> path)


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