C# Class Analyzer.PageRankCalculator

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

Public Methods

Method Description
CalculatorDescription ( ) : string
PageRankCalculator ( ) : System
TryCalculateGraphMetrics ( IGraph graph, BackgroundWorker backgroundWorker, MetricDouble &graphMetrics ) : System.Boolean
tryCalculate ( IGraph graph, BackgroundWorker bgw, VertexMetricBase &metrics ) : bool

Private Methods

Method Description
calculateVertexPageRank ( IVertexCollection vertices, Double>.Dictionary oldPageRanks, Double>.Dictionary &newPageRanks ) : void
isConverged ( Double>.Dictionary oldPageRanks, Double>.Dictionary newPageRanks ) : bool

Method Details

CalculatorDescription() public method

public CalculatorDescription ( ) : string
return string

PageRankCalculator() public method

public PageRankCalculator ( ) : System
return System

TryCalculateGraphMetrics() public method

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

tryCalculate() public method

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