Constructors

   (  NodeType Value , Graph<NodeType, EdgeType> ofGraph )
Parameter Type Description
Value NodeType The value for this node.
ofGraph Graph<NodeType,EdgeType> The graph to which this node belongs.



Indexers

   Edge<NodeType, EdgeType> [ NodeType Value ] 
Parameter Type Description
Value NodeType The node value to find an edge to.
Edge<NodeType, EdgeType> The corresponding edge, otherwise returns null.



  Edge< NodeType, EdgeType> [ Node<NodeType, EdgeType> thisNode ] 
Parameter Type Description
thisNode Node<NodeType, EdgeType> The node to find an edge to.
Edge<NodeType, EdgeType> The corresponding edge, otherwise returns null.


Properties

.ofGraph
Return graph object the node belongs to.
.Value
Returns the value of the Node.
.Edges_From
Returns an IEnumerable containing all of the Edges that exit this node.
.Edges_To
Returns an IEnumerable containing all of the Edges that enter this node.

Methods

AddEdgeTo

Adds an Edge to graph object that starts at this node and finishes at the specified node, along with the edges value.

Remove

Removes this Node from the graph, it also removes any associated edges to and from the node.

RemoveEdge

Removes the edge from the graph.

PathsTo

Returns an IEnumerable containing (if any) the paths from this node to the specified node.

ToString

Returns a string representation of the value of node.

This WikiPage was created with Codeplex WikiEditor

Last edited May 21, 2011 at 8:25 PM by AdamSpeight2008, version 9

Comments

No comments yet.