C# Class Analyzer.ReciprocatedVertexPairRatioCalculator

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

Public Methods

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

Protected Methods

Method Description
CalculateReciprocatedVertexPairRatio ( IVertex oVertex, HashSet oVertexIDPairs ) : Double
GetVertexIDPairs ( IGraph oGraph ) : HashSet

Method Details

CalculateReciprocatedVertexPairRatio() protected method

protected CalculateReciprocatedVertexPairRatio ( IVertex oVertex, HashSet oVertexIDPairs ) : Double
oVertex IVertex
oVertexIDPairs HashSet
return Double

CalculatorDescription() public method

public CalculatorDescription ( ) : string
return string

GetVertexIDPairs() protected method

protected GetVertexIDPairs ( IGraph oGraph ) : HashSet
oGraph IGraph
return HashSet

ReciprocatedVertexPairRatioCalculator() public method

public ReciprocatedVertexPairRatioCalculator ( ) : Smrf.AppLib
return Smrf.AppLib

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