C# 클래스 Smrf.NodeXL.Algorithms.ClusteringCoefficientCalculator

Calculates the clustering coefficient for each of the graph's vertices.
See this article for a definition of clustering coefficient:

http://en.wikipedia.org/wiki/Clustering_coefficient

This calculator skips all self-loops, which would render the calculations invalid. The calculations are rendered invalid if the graph has duplicate edges, however.

상속: OneDoubleGraphMetricCalculatorBase
파일 보기 프로젝트 열기: 2014-sed-team3/term-project

공개 메소드들

메소드 설명
AssertValid ( ) : void
ClusteringCoefficientCalculator ( ) : System

Initializes a new instance of the class.

TryCalculateGraphMetrics ( IGraph graph, BackgroundWorker backgroundWorker, Double>.Dictionary &graphMetrics ) : System.Boolean

보호된 메소드들

메소드 설명
CalculateClusteringCoefficient ( IVertex oVertex, System.Boolean bGraphIsDirected ) : Double

메소드 상세

AssertValid() 공개 메소드

public AssertValid ( ) : void
리턴 void

CalculateClusteringCoefficient() 보호된 메소드

protected CalculateClusteringCoefficient ( IVertex oVertex, System.Boolean bGraphIsDirected ) : Double
oVertex IVertex
bGraphIsDirected System.Boolean
리턴 Double

ClusteringCoefficientCalculator() 공개 메소드

Initializes a new instance of the class.
public ClusteringCoefficientCalculator ( ) : System
리턴 System

TryCalculateGraphMetrics() 공개 메소드

public TryCalculateGraphMetrics ( IGraph graph, BackgroundWorker backgroundWorker, Double>.Dictionary &graphMetrics ) : System.Boolean
graph IGraph
backgroundWorker System.ComponentModel.BackgroundWorker
graphMetrics Double>.Dictionary
리턴 System.Boolean