| Trees | Index | Help |
|
|---|
| Package svs_simulation :: Package terrain :: Module paths :: Class Path |
|
DGraph--+ |UGraph--+ |NavGraph--+ | Path
| Method Summary | |
|---|---|
__init__(self,
name)
| |
Returns representation of self as string. | |
Creates new node and adds it to graph. | |
Adds existing node to graph. | |
Sets self to encoded values. | |
Returns encoded description of self. | |
enterNode(self,
entity)
| |
exitNode(self,
entity)
| |
Checks nodes in path route against terrain, linking each node to the structure in which it is located. | |
Creates reverse version of path. | |
| Inherited from NavGraph | |
Adds new edge. | |
Clears transition link for node. | |
Encodes edge data. | |
Collects nodes in specified area. | |
svs_simulation.simdata.simdatalib.SimData
|
Returns simulation data for edge. |
Returns a list of valid edges. | |
Returns a list of valid nodes. | |
Checks if area can be entered. | |
Checks if edge is hidden or not. | |
Checks if node is hidden or not. | |
Removes an edge from the graph. | |
Removes listed edges from graph. | |
Removes node from the graph. | |
Attaches simulation data to edge. | |
Sets transition link for node. | |
| Inherited from UGraph | |
Adds a directed edge going from head to
tail. | |
The total degree of a node | |
The total degree of a node | |
Reports an error message | |
Returns the number of edges | |
| Inherited from DGraph | |
Test whether a node is in the graph | |
Iterates over all nodes in the graph | |
Returns the number of nodes | |
User friendly and verbose representation | |
Creates a new node with a node. | |
Returns a list containing all incoming and outging edges | |
Returns the data associated with an edge | |
Returns the head of the edge. | |
Returns a list of all edge_ids in the graph | |
Returns the head and the tail of an edge. | |
Returns the tail of the edge. | |
Returns the edge that connects the head to tail | |
Sets the data for an edge | |
Gets the wt of the edge | |
Hides an edge from the graph. | |
Hides a node from the graph. | |
Returns the number of incoming edges | |
Returns a list of the incoming edges | |
Returns a list of nodes connected by incoming edges. | |
Returns the data associated with a node | |
Returns a list of the nodes in the graph. | |
Returns the number of hidden edges. | |
Returns the number of hidden nodes. | |
Returns the number of nodes | |
Returns the number of outgoing edges | |
Returns a list of the outgoing edges. | |
Returns a list of nodes connected by outgoing edges. | |
Restores all hidden edges. | |
Restores all hidden nodes. | |
Restores a hidden edge. | |
Restores a hidden node | |
Sets the data for an edge | |
Sets the wt of the edge | |
| Method Details |
|---|
__str__(self)
Returns representation of self as string.
|
addNode(self, x, y, name=None)Creates new node and adds it to graph. |
addNodeObject(self, nodeObject)Adds existing node to graph. |
decode(self, data)Sets self to encoded values. @type data:dict |
encode(self)Returns encoded description of self. @rtype:dict |
mapToTerrain(self, terrain)Checks nodes in path route against terrain, linking each node to the structure in which it is located. |
reverse(self)Creates reverse version of path. |
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Oct 20 15:30:26 2005 | http://epydoc.sf.net |