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
파일 보기 프로젝트 열기: 2014-sed-team3/term-project

공개 메소드들

메소드 설명
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