C# Class HelpKsyu.KosarajuAlgorithm

Afficher le fichier Open project: Confirmit/Students Class Usage Examples

Méthodes publiques

Méthode Description
GetEdge ( int scc, int ind ) : DEdge
GetEdge ( int strongConnectedComponent, int edgeIndex ) : DirectedEdge
GetStrongConnectedComponentEdgesCount ( int strongConnectedComponent ) : int
GetStrongConnegtionComponentVerticesCount ( int strongConnectedComponent ) : int
GetVertex ( int strongConnectedComponent, int vertexIndex ) : int
IsStrongConnected ( int vertex1, int vertex2 ) : bool
KosarajuAlgorithm ( ) : System
KosarajuAlgorithm ( DGraph G ) : System
KosarajuAlgorithm ( DirectedGraph Graph ) : System
SCCEdgCount ( int scc ) : int
SCCVrtxCount ( int scc ) : int
StrongConnect ( int v1, int v2 ) : bool

Private Methods

Méthode Description
AddSCC ( int v, int &mark, DGraph G ) : void
AddStrongConnectedComponent ( int vertex, int mark, DirectedGraph Graph ) : void
BuildStrongConnectedComponents ( DirectedGraph Graph ) : void

Method Details

GetEdge() public méthode

public GetEdge ( int scc, int ind ) : DEdge
scc int
ind int
Résultat DirectedGraph.DEdge

GetEdge() public méthode

public GetEdge ( int strongConnectedComponent, int edgeIndex ) : DirectedEdge
strongConnectedComponent int
edgeIndex int
Résultat DirectedEdge

GetStrongConnectedComponentEdgesCount() public méthode

public GetStrongConnectedComponentEdgesCount ( int strongConnectedComponent ) : int
strongConnectedComponent int
Résultat int

GetStrongConnegtionComponentVerticesCount() public méthode

public GetStrongConnegtionComponentVerticesCount ( int strongConnectedComponent ) : int
strongConnectedComponent int
Résultat int

GetVertex() public méthode

public GetVertex ( int strongConnectedComponent, int vertexIndex ) : int
strongConnectedComponent int
vertexIndex int
Résultat int

IsStrongConnected() public méthode

public IsStrongConnected ( int vertex1, int vertex2 ) : bool
vertex1 int
vertex2 int
Résultat bool

KosarajuAlgorithm() public méthode

public KosarajuAlgorithm ( ) : System
Résultat System

KosarajuAlgorithm() public méthode

public KosarajuAlgorithm ( DGraph G ) : System
G DirectedGraph.DGraph
Résultat System

KosarajuAlgorithm() public méthode

public KosarajuAlgorithm ( DirectedGraph Graph ) : System
Graph DirectedGraph
Résultat System

SCCEdgCount() public méthode

public SCCEdgCount ( int scc ) : int
scc int
Résultat int

SCCVrtxCount() public méthode

public SCCVrtxCount ( int scc ) : int
scc int
Résultat int

StrongConnect() public méthode

public StrongConnect ( int v1, int v2 ) : bool
v1 int
v2 int
Résultat bool