C# Class Smrf.NodeXL.Algorithms.VertexDegreeCalculator

Calculates the in-degree, out-degree, and degree for each of the graph's vertices.
This calculator includes all self-loops in its calculations. It also includes all parallel edges, which may not be expected by the user.
Inheritance: GraphMetricCalculatorBase
Afficher le fichier Open project: 2014-sed-team3/term-project

Méthodes publiques

Méthode Description
AssertValid ( ) : void
CalculateGraphMetrics ( IGraph graph ) : VertexDegrees>.Dictionary
TryCalculateGraphMetrics ( IGraph graph, BackgroundWorker backgroundWorker, VertexDegrees>.Dictionary &graphMetrics ) : System.Boolean
VertexDegreeCalculator ( ) : System

Initializes a new instance of the class.

Méthodes protégées

Méthode Description
CalculateVertexDegrees ( IVertex oVertex, Int32 &iInDegree, Int32 &iOutDegree ) : void

Method Details

AssertValid() public méthode

public AssertValid ( ) : void
Résultat void

CalculateGraphMetrics() public méthode

public CalculateGraphMetrics ( IGraph graph ) : VertexDegrees>.Dictionary
graph IGraph
Résultat VertexDegrees>.Dictionary

CalculateVertexDegrees() protected méthode

protected CalculateVertexDegrees ( IVertex oVertex, Int32 &iInDegree, Int32 &iOutDegree ) : void
oVertex IVertex
iInDegree System.Int32
iOutDegree System.Int32
Résultat void

TryCalculateGraphMetrics() public méthode

public TryCalculateGraphMetrics ( IGraph graph, BackgroundWorker backgroundWorker, VertexDegrees>.Dictionary &graphMetrics ) : System.Boolean
graph IGraph
backgroundWorker System.ComponentModel.BackgroundWorker
graphMetrics VertexDegrees>.Dictionary
Résultat System.Boolean

VertexDegreeCalculator() public méthode

Initializes a new instance of the class.
public VertexDegreeCalculator ( ) : System
Résultat System