C# Class Smrf.NodeXL.ExcelTemplate.IntergroupEdgeCalculator2

Given a collection of vertex groups, this class counts the number of edges between each pair of groups and the number of edges within each group.
Inheritance: GraphMetricCalculatorBase2
ファイルを表示 Open project: 2014-sed-team3/term-project

Public Methods

Method Description
AssertValid ( ) : void
IntergroupEdgeCalculator2 ( ) : System

Initializes a new instance of the class.

TryCalculateGraphMetrics ( IGraph graph, CalculateGraphMetricsContext calculateGraphMetricsContext, GraphMetricColumn &graphMetricColumns ) : System.Boolean

Protected Methods

Method Description
AddRow ( String sGroup1Name, String sGroup2Name, Int32 iEdges, GroupEdgeRows oGroupEdgeRows ) : void
AddRows ( GroupInfo oGroups, IList oIntergroupEdges ) : GroupEdgeRows
CreateGraphMetricColumnOrdered ( String sColumnName, String sStyle, List oValues ) : GraphMetricColumnOrdered
CreateGraphMetricColumns ( GroupEdgeRows oGroupEdgeRows ) : Smrf.NodeXL.ExcelTemplate.GraphMetricColumn[]

Method Details

AddRow() protected method

protected AddRow ( String sGroup1Name, String sGroup2Name, Int32 iEdges, GroupEdgeRows oGroupEdgeRows ) : void
sGroup1Name String
sGroup2Name String
iEdges System.Int32
oGroupEdgeRows GroupEdgeRows
return void

AddRows() protected method

protected AddRows ( GroupInfo oGroups, IList oIntergroupEdges ) : GroupEdgeRows
oGroups Smrf.NodeXL.Core.GroupInfo
oIntergroupEdges IList
return GroupEdgeRows

AssertValid() public method

public AssertValid ( ) : void
return void

CreateGraphMetricColumnOrdered() protected method

protected CreateGraphMetricColumnOrdered ( String sColumnName, String sStyle, List oValues ) : GraphMetricColumnOrdered
sColumnName String
sStyle String
oValues List
return GraphMetricColumnOrdered

CreateGraphMetricColumns() protected method

protected CreateGraphMetricColumns ( GroupEdgeRows oGroupEdgeRows ) : Smrf.NodeXL.ExcelTemplate.GraphMetricColumn[]
oGroupEdgeRows GroupEdgeRows
return Smrf.NodeXL.ExcelTemplate.GraphMetricColumn[]

IntergroupEdgeCalculator2() public method

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

TryCalculateGraphMetrics() public method

public TryCalculateGraphMetrics ( IGraph graph, CalculateGraphMetricsContext calculateGraphMetricsContext, GraphMetricColumn &graphMetricColumns ) : System.Boolean
graph IGraph
calculateGraphMetricsContext CalculateGraphMetricsContext
graphMetricColumns GraphMetricColumn
return System.Boolean