C# Class Analyzer.ClusteringCoefficientCalculator

Inheritance: VertexMetricCalculatorBase
Datei anzeigen Open project: 2014-sed-team3/term-project Class Usage Examples

Public Methods

Method Description
CalculatorDescription ( ) : string
ClusteringCoefficientCalculator ( ) : Smrf.NodeXL.Core
TryCalculateGraphMetrics ( IGraph graph, BackgroundWorker backgroundWorker, MetricDouble &graphMetrics ) : bool
tryCalculate ( IGraph graph, BackgroundWorker bgw, VertexMetricBase &metrics ) : bool

Protected Methods

Method Description
CalculateClusteringCoefficient ( IVertex oVertex, System.Boolean bGraphIsDirected ) : Double
CalculateEdgesInFullyConnectedNeighborhood ( Int32 iAdjacentVertices, System.Boolean bGraphIsDirected ) : Int32

Method Details

CalculateClusteringCoefficient() protected method

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

CalculateEdgesInFullyConnectedNeighborhood() protected method

protected CalculateEdgesInFullyConnectedNeighborhood ( Int32 iAdjacentVertices, System.Boolean bGraphIsDirected ) : Int32
iAdjacentVertices System.Int32
bGraphIsDirected System.Boolean
return System.Int32

CalculatorDescription() public method

public CalculatorDescription ( ) : string
return string

ClusteringCoefficientCalculator() public method

public ClusteringCoefficientCalculator ( ) : Smrf.NodeXL.Core
return Smrf.NodeXL.Core

TryCalculateGraphMetrics() public method

public TryCalculateGraphMetrics ( IGraph graph, BackgroundWorker backgroundWorker, MetricDouble &graphMetrics ) : bool
graph IGraph
backgroundWorker System.ComponentModel.BackgroundWorker
graphMetrics MetricDouble
return bool

tryCalculate() public method

public tryCalculate ( IGraph graph, BackgroundWorker bgw, VertexMetricBase &metrics ) : bool
graph IGraph
bgw System.ComponentModel.BackgroundWorker
metrics VertexMetricBase
return bool