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
Показать файл Открыть проект

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

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