C# Class Smrf.NodeXL.Algorithms.IntergroupEdgeCalculator

Given a collection of vertex groups, this class counts the number of edges and the sum of edge weights for the edges between pairs of groups, and for the edges within each group.
Inheritance: GraphMetricCalculatorBase
Afficher le fichier Open project: 2014-sed-team3/term-project Class Usage Examples

Méthodes publiques

Méthode Description
AssertValid ( ) : void
CalculateGraphMetrics ( IGraph graph, IList groups, System.Boolean useDirectedness ) : IList
IntergroupEdgeCalculator ( ) : System

Initializes a new instance of the class.

TryCalculateGraphMetrics ( IGraph graph, BackgroundWorker backgroundWorker, IList groups, System.Boolean useDirectedness, IList &graphMetrics ) : System.Boolean

Méthodes protégées

Méthode Description
CompareIntergroupEdges ( IntergroupEdgeInfo oIntergroupEdge1, IntergroupEdgeInfo oIntergroupEdge2 ) : Int32
CountIncidentEdge ( IEdge oIntergroupEdge, Int32 iGroup1Index, Int32 iGroup2Index, IList oIntergroupEdges, IntergroupEdgeInfo>.Dictionary oIntergroupEdgeIndexes ) : void
IncidentEdgeShouldBeCounted ( IEdge oIncidentEdge, IVertex oVertexInGroup1, Int32 iGroup1Index, Int32>.Dictionary oGroupIndexDictionary, System.Boolean bUseDirectedness, System.Boolean bGraphIsDirected, Int32 &iGroup2Index ) : System.Boolean

Method Details

AssertValid() public méthode

public AssertValid ( ) : void
Résultat void

CalculateGraphMetrics() public méthode

public CalculateGraphMetrics ( IGraph graph, IList groups, System.Boolean useDirectedness ) : IList
graph IGraph
groups IList
useDirectedness System.Boolean
Résultat IList

CompareIntergroupEdges() protected static méthode

protected static CompareIntergroupEdges ( IntergroupEdgeInfo oIntergroupEdge1, IntergroupEdgeInfo oIntergroupEdge2 ) : Int32
oIntergroupEdge1 Smrf.NodeXL.Core.IntergroupEdgeInfo
oIntergroupEdge2 Smrf.NodeXL.Core.IntergroupEdgeInfo
Résultat System.Int32

CountIncidentEdge() protected méthode

protected CountIncidentEdge ( IEdge oIntergroupEdge, Int32 iGroup1Index, Int32 iGroup2Index, IList oIntergroupEdges, IntergroupEdgeInfo>.Dictionary oIntergroupEdgeIndexes ) : void
oIntergroupEdge IEdge
iGroup1Index System.Int32
iGroup2Index System.Int32
oIntergroupEdges IList
oIntergroupEdgeIndexes IntergroupEdgeInfo>.Dictionary
Résultat void

IncidentEdgeShouldBeCounted() protected méthode

protected IncidentEdgeShouldBeCounted ( IEdge oIncidentEdge, IVertex oVertexInGroup1, Int32 iGroup1Index, Int32>.Dictionary oGroupIndexDictionary, System.Boolean bUseDirectedness, System.Boolean bGraphIsDirected, Int32 &iGroup2Index ) : System.Boolean
oIncidentEdge IEdge
oVertexInGroup1 IVertex
iGroup1Index System.Int32
oGroupIndexDictionary Int32>.Dictionary
bUseDirectedness System.Boolean
bGraphIsDirected System.Boolean
iGroup2Index System.Int32
Résultat System.Boolean

IntergroupEdgeCalculator() public méthode

Initializes a new instance of the class.
public IntergroupEdgeCalculator ( ) : System
Résultat System

TryCalculateGraphMetrics() public méthode

public TryCalculateGraphMetrics ( IGraph graph, BackgroundWorker backgroundWorker, IList groups, System.Boolean useDirectedness, IList &graphMetrics ) : System.Boolean
graph IGraph
backgroundWorker System.ComponentModel.BackgroundWorker
groups IList
useDirectedness System.Boolean
graphMetrics IList
Résultat System.Boolean