wx.Graph.IGraph< DataType > Interface Reference

Inheritance diagram for wx.Graph.IGraph< DataType >:

wx.ICanBeMadeReadonly wx.Graph.DirectedGraph< DataType > wx.Graph.Tree< DataType >

List of all members.

Public Member Functions

DataType GetDataOfNode (int id)
ICollection< int > GetEdgesFromNode (int nodeID)
ICollection< int > GetEdgesToNode (int nodeID)

Properties

ICollection< int[]> Arcs [get]
ICollection< int > NodeIDs [get]


Detailed Description

Methods of graphs that can be provided without references to internal representations.

Member Function Documentation

DataType wx.Graph.IGraph< DataType >.GetDataOfNode ( int  id  ) 

This will return the data that is associated with the graph node of the provided ID.

Parameters:
id designates the graph node whose data will be returned.
Returns:

Implemented in wx.Graph.DirectedGraph< DataType >, and wx.Graph.Tree< DataType >.

ICollection<int> wx.Graph.IGraph< DataType >.GetEdgesFromNode ( int  nodeID  ) 

Returns a collection of that nodes A (designated by their IDs) where there is an arc from A to the node designated by nodeID.

Parameters:
nodeID The node that is the target of the selected edges
Returns:

Implemented in wx.Graph.DirectedGraph< DataType >, and wx.Graph.Tree< DataType >.

ICollection<int> wx.Graph.IGraph< DataType >.GetEdgesToNode ( int  nodeID  ) 

Returns a collection of that nodes A (designated by their IDs) where there is an edge from the node designated by nodeID to A.

Parameters:
nodeID The node that is the target of the selected edges
Returns:

Implemented in wx.Graph.DirectedGraph< DataType >, and wx.Graph.Tree< DataType >.


Property Documentation

ICollection<int[]> wx.Graph.IGraph< DataType >.Arcs [get]

A collection of tuples of integers that represent the arcs between the nodes. The integers are node IDs.

Implemented in wx.Graph.DirectedGraph< DataType >, and wx.Graph.Tree< DataType >.

ICollection<int> wx.Graph.IGraph< DataType >.NodeIDs [get]

Collection of node IDs.

Implemented in wx.Graph.DirectedGraph< DataType >, and wx.Graph.Tree< DataType >.


Manual of the wx.NET   (c) 2003-2011 the wx.NET project at   Get wx.NET at SourceForge.net. Fast, secure and Free Open Source software downloads