C# Class Analyzer.OverallReciprocationCalculator

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

Public Methods

Method Description
CalculateGraphMetrics ( IGraph graph, Nullable &reciprocatedVertexPairRatio, Nullable &reciprocatedEdgeRatio ) : void
OverallReciprocationCalculator ( ) : Smrf.AppLib
TryCalculateGraphMetrics ( IGraph graph, BackgroundWorker backgroundWorker, Nullable &reciprocatedVertexPairRatio, Nullable &reciprocatedEdgeRatio ) : System.Boolean

Protected Methods

Method Description
CalculateReciprocatedEdgeRatio ( IGraph oGraph, Int32 iVertexPairsWithBothDirectedEdges ) : Nullable
CalculateReciprocatedVertexPairRatio ( IGraph oGraph, Int32 iVertexPairsWithBothDirectedEdges, HashSet oVertexIDPairsUnordered ) : Nullable
CountEdges ( IGraph oGraph, HashSet &oVertexIDPairsOrdered, HashSet &oVertexIDPairsUnordered ) : void
CountVertexPairsWithBothDirectedEdges ( IGraph oGraph, HashSet oVertexIDPairsOrdered ) : Int32

Method Details

CalculateGraphMetrics() public method

public CalculateGraphMetrics ( IGraph graph, Nullable &reciprocatedVertexPairRatio, Nullable &reciprocatedEdgeRatio ) : void
graph IGraph
reciprocatedVertexPairRatio Nullable
reciprocatedEdgeRatio Nullable
return void

CalculateReciprocatedEdgeRatio() protected method

protected CalculateReciprocatedEdgeRatio ( IGraph oGraph, Int32 iVertexPairsWithBothDirectedEdges ) : Nullable
oGraph IGraph
iVertexPairsWithBothDirectedEdges System.Int32
return Nullable

CalculateReciprocatedVertexPairRatio() protected method

protected CalculateReciprocatedVertexPairRatio ( IGraph oGraph, Int32 iVertexPairsWithBothDirectedEdges, HashSet oVertexIDPairsUnordered ) : Nullable
oGraph IGraph
iVertexPairsWithBothDirectedEdges System.Int32
oVertexIDPairsUnordered HashSet
return Nullable

CountEdges() protected method

protected CountEdges ( IGraph oGraph, HashSet &oVertexIDPairsOrdered, HashSet &oVertexIDPairsUnordered ) : void
oGraph IGraph
oVertexIDPairsOrdered HashSet
oVertexIDPairsUnordered HashSet
return void

CountVertexPairsWithBothDirectedEdges() protected method

protected CountVertexPairsWithBothDirectedEdges ( IGraph oGraph, HashSet oVertexIDPairsOrdered ) : Int32
oGraph IGraph
oVertexIDPairsOrdered HashSet
return System.Int32

OverallReciprocationCalculator() public method

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

TryCalculateGraphMetrics() public method

public TryCalculateGraphMetrics ( IGraph graph, BackgroundWorker backgroundWorker, Nullable &reciprocatedVertexPairRatio, Nullable &reciprocatedEdgeRatio ) : System.Boolean
graph IGraph
backgroundWorker System.ComponentModel.BackgroundWorker
reciprocatedVertexPairRatio Nullable
reciprocatedEdgeRatio Nullable
return System.Boolean