C# Class Smrf.NodeXL.Algorithms.EdgeReciprocationCalculator

Calculates whether the edges in a connected graph are reciprocated.
An edge (A,B) in a directed graph is reciprocated if the graph also has an edge (B,A). Reciprocation has no meaning for an undirected graph.
Inheritance: GraphMetricCalculatorBase
ファイルを表示 Open project: 2014-sed-team3/term-project Class Usage Examples

Public Methods

Method Description
AssertValid ( ) : void
CalculateGraphMetrics ( IGraph graph ) : Boolean>.Dictionary
EdgeReciprocationCalculator ( ) : System

Initializes a new instance of the class.

TryCalculateGraphMetrics ( IGraph graph, BackgroundWorker backgroundWorker, Boolean>.Dictionary &graphMetrics ) : System.Boolean

Protected Methods

Method Description
GetDictionaryKey ( IVertex oVertex1, IVertex oVertex2 ) : System.Int64

Method Details

AssertValid() public method

public AssertValid ( ) : void
return void

CalculateGraphMetrics() public method

public CalculateGraphMetrics ( IGraph graph ) : Boolean>.Dictionary
graph IGraph
return Boolean>.Dictionary

EdgeReciprocationCalculator() public method

Initializes a new instance of the class.
public EdgeReciprocationCalculator ( ) : System
return System

GetDictionaryKey() protected method

protected GetDictionaryKey ( IVertex oVertex1, IVertex oVertex2 ) : System.Int64
oVertex1 IVertex
oVertex2 IVertex
return System.Int64

TryCalculateGraphMetrics() public method

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