C# Класс 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.
Наследование: GraphMetricCalculatorBase
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
CalculateVertexDegrees ( IVertex oVertex, Int32 &iInDegree, Int32 &iOutDegree ) : void

Описание методов

AssertValid() публичный Метод

public AssertValid ( ) : void
Результат void

CalculateGraphMetrics() публичный Метод

public CalculateGraphMetrics ( IGraph graph ) : VertexDegrees>.Dictionary
graph IGraph
Результат VertexDegrees>.Dictionary

CalculateVertexDegrees() защищенный Метод

protected CalculateVertexDegrees ( IVertex oVertex, Int32 &iInDegree, Int32 &iOutDegree ) : void
oVertex IVertex
iInDegree System.Int32
iOutDegree System.Int32
Результат void

TryCalculateGraphMetrics() публичный Метод

public TryCalculateGraphMetrics ( IGraph graph, BackgroundWorker backgroundWorker, VertexDegrees>.Dictionary &graphMetrics ) : System.Boolean
graph IGraph
backgroundWorker System.ComponentModel.BackgroundWorker
graphMetrics VertexDegrees>.Dictionary
Результат System.Boolean

VertexDegreeCalculator() публичный Метод

Initializes a new instance of the class.
public VertexDegreeCalculator ( ) : System
Результат System