| Trees | Index | Help |
|
|---|
| Package svs_simulation :: Package terrain :: Module paths :: Class PathStore |
|
| Method Summary | |
|---|---|
__init__(self)
| |
Adds path to list by name. | |
Adds path to list. | |
Returns a list of all paths in store. | |
Returns path. | |
Returns path with specified name. | |
Returns path between start and
destination. | |
| Method Details |
|---|
addNamedPath(self, path, listByNodes=True)Adds path to list by name. IflistByNodes is True adds to main path
list as well. This means it can also be searched by the names of its
first and last nodes. If listByNodes is
False, then it can only be saerched by its name.
|
addPath(self, path, listByName=True)Adds path to list. Each path is listed by the names of its first and last nodes. IflistByName is True adds to named path
list as well. If listByName is False, then it
can only be searched by its start and destination nodes.
|
getAllPaths(self)Returns a list of all paths in store. |
getPath(self, name=None, start=None, destination=None)Returns path. Ifname given tries that first, then, if
start and destination given tries these.
Alternatively, can just be called with start and
destination.
|
getPathNamed(self, pathName)Returns path with specified name. If no path exists, returnsNone.
|
getPathWithNodes(self, start, destination)Returns path between None.
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Oct 20 15:30:31 2005 | http://epydoc.sf.net |