C# Класс 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.
Наследование: GraphMetricCalculatorBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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

Описание методов

AssertValid() публичный Метод

public AssertValid ( ) : void
Результат void

CalculateGraphMetrics() публичный Метод

public CalculateGraphMetrics ( IGraph graph, IList groups, System.Boolean useDirectedness ) : IList
graph IGraph
groups IList
useDirectedness System.Boolean
Результат IList

CompareIntergroupEdges() защищенный статический Метод

protected static CompareIntergroupEdges ( IntergroupEdgeInfo oIntergroupEdge1, IntergroupEdgeInfo oIntergroupEdge2 ) : Int32
oIntergroupEdge1 Smrf.NodeXL.Core.IntergroupEdgeInfo
oIntergroupEdge2 Smrf.NodeXL.Core.IntergroupEdgeInfo
Результат System.Int32

CountIncidentEdge() защищенный Метод

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
Результат void

IncidentEdgeShouldBeCounted() защищенный Метод

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
Результат System.Boolean

IntergroupEdgeCalculator() публичный Метод

Initializes a new instance of the class.
public IntergroupEdgeCalculator ( ) : System
Результат System

TryCalculateGraphMetrics() публичный Метод

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
Результат System.Boolean