Abstract definition of a path. More...
#include <Path.h>
Public Member Functions | |
Path (const SpaceInformationPtr &si) | |
Constructor. A path must always know the space information it is part of. | |
virtual | ~Path (void) |
Destructor. | |
const SpaceInformationPtr & | getSpaceInformation (void) const |
Get the space information associated to this class. | |
virtual double | length (void) const =0 |
Return the length of a path. | |
virtual bool | check (void) const =0 |
Check if the path is valid. | |
virtual void | print (std::ostream &out) const =0 |
Print the path to a stream. | |
Protected Attributes | |
SpaceInformationPtr | si_ |
The space information this path is part of. |