| Trees | Index | Help |
|
|---|
| Package svs_simulation :: Package terrain :: Module linkpaths :: Class LinkPathGraph |
|
| Method Summary | |
|---|---|
__init__(self,
name)
| |
Adds path to graph. | |
Sets self to encoded values. | |
Returns encoded description of self. | |
getAllPaths(self)
| |
Returns path that has start node closest to specified position. | |
Returns list of link paths between two structures. | |
Resolves all paths in LinkPathGraph.unresolvedLinkPaths
and adds them to main list. | |
| Method Details |
|---|
addLinkPath(self, path)Adds path to graph. |
decode(self, data)Sets self to encoded values. @type data:dict |
encode(self)Returns encoded description of self. @rtype:dict |
getClosestPathBetween(self, startStructure, endStructure, x, y)Returns path that has start node closest to specified position. |
getPathsBetween(self, startStructureName, endStructureName)Returns list of link paths between two structures. |
resolveLinkPaths(self, terrain)Resolves all paths inLinkPathGraph.unresolvedLinkPaths
and adds them to main list.
LinkPathGraph.unresolvedLinkPaths is then cleared.
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Oct 20 15:30:24 2005 | http://epydoc.sf.net |