C# Class DefaultNamespace.Graph

Exibir arquivo Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Properties

Property Type Description
Nodes int

Public Methods

Method Description
BuildEdge ( int v1, int v2 ) : void
BuildGraph ( ) : void
CheckIfReachable ( ) : void
DeleteVertex ( ) : void
GetWeightSum ( ) : int
Graph ( int n ) : System
PrintGraph ( ) : void
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

GetWeightSum() public method

public GetWeightSum ( ) : int
return int

Graph() public method

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

PrintGraph() public method

public PrintGraph ( ) : void
return void

SetWeightSum() public method

public SetWeightSum ( ) : void
return void

Property Details

Nodes public_oe static_oe property

public static int Nodes
return int