C# Class CommonComponents.DirectedGraph

Mostrar archivo Open project: Confirmit/Students Class Usage Examples

Public Methods

Method Description
AddEdge ( DirectedEdge edge ) : void
DirectedGraph ( ) : System
DirectedGraph ( DirectedGraph g ) : System
DirectedGraph ( int verticesCount ) : System
GetEdge ( int vertex, int edgeIndex ) : DirectedEdge
GetVertexDegree ( int vertex ) : int
Transposition ( ) : DirectedGraph

Private Methods

Method Description
this ( int i, int j ) : DirectedEdge
this ( int i ) : List

Method Details

AddEdge() public method

public AddEdge ( DirectedEdge edge ) : void
edge DirectedEdge
return void

DirectedGraph() public method

public DirectedGraph ( ) : System
return System

DirectedGraph() public method

public DirectedGraph ( DirectedGraph g ) : System
g DirectedGraph
return System

DirectedGraph() public method

public DirectedGraph ( int verticesCount ) : System
verticesCount int
return System

GetEdge() public method

public GetEdge ( int vertex, int edgeIndex ) : DirectedEdge
vertex int
edgeIndex int
return DirectedEdge

GetVertexDegree() public method

public GetVertexDegree ( int vertex ) : int
vertex int
return int

Transposition() public method

public Transposition ( ) : DirectedGraph
return DirectedGraph