C# Class Default.Graph

Mostrar archivo Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Properties

Property Type Description
Nodes int
flag bool

Public Methods

Method Description
BuildEdge ( int v1, int v2 ) : void
BuildGraph ( ) : void
CheckIfReachable ( ) : void
DeleteVertex ( ) : void
DeleteVertex ( Vertex v ) : void
GetWeightSum ( ) : int
Graph ( int n ) : System
ReturnVfirst ( ) : Vertex
SetWeightSum ( ) : void

Method Details

BuildEdge() public method

public BuildEdge ( int v1, int v2 ) : void
v1 int
v2 int
return void

BuildGraph() public method

public BuildGraph ( ) : void
return void

CheckIfReachable() public method

public CheckIfReachable ( ) : void
return void

DeleteVertex() public method

public DeleteVertex ( ) : void
return void

DeleteVertex() public method

public DeleteVertex ( Vertex v ) : void
v Vertex
return void

GetWeightSum() public method

public GetWeightSum ( ) : int
return int

Graph() public method

public Graph ( int n ) : System
n int
return System

ReturnVfirst() public method

public ReturnVfirst ( ) : Vertex
return Vertex

SetWeightSum() public method

public SetWeightSum ( ) : void
return void

Property Details

Nodes public_oe static_oe property

public static int Nodes
return int

flag public_oe static_oe property

public static bool flag
return bool