C# Class Smrf.NodeXL.ExcelTemplate.GroupMetricCalculator2

Calculates overall metrics for each of the groups on the group worksheet.
The overall metrics for each group are calculated as if the group's vertices and the edges connecting those vertices were the only vertices and edges in the graph.
Inheritance: GraphMetricCalculatorBase2
Exibir arquivo Open project: 2014-sed-team3/term-project

Public Methods

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

Initializes a new instance of the GroupMetricCalculator2 class.

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

Protected Methods

Method Description
CreateGraphMetricColumnWithID ( String sColumnName, String sNumberFormat, List oGraphMetricValues ) : GraphMetricColumnWithID
TryCalculateGraphMetricsForOneGroup ( ExcelTemplateGroupInfo oExcelTemplateGroupInfo, CalculateGraphMetricsContext oCalculateGraphMetricsContext, OverallMetrics &oOverallMetrics ) : System.Boolean

Method Details

AssertValid() public method

public AssertValid ( ) : void
return void

CreateGraphMetricColumnWithID() protected method

protected CreateGraphMetricColumnWithID ( String sColumnName, String sNumberFormat, List oGraphMetricValues ) : GraphMetricColumnWithID
sColumnName String
sNumberFormat String
oGraphMetricValues List
return GraphMetricColumnWithID

GroupMetricCalculator2() public method

Initializes a new instance of the GroupMetricCalculator2 class.
public GroupMetricCalculator2 ( ) : 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

TryCalculateGraphMetricsForOneGroup() protected method

protected TryCalculateGraphMetricsForOneGroup ( ExcelTemplateGroupInfo oExcelTemplateGroupInfo, CalculateGraphMetricsContext oCalculateGraphMetricsContext, OverallMetrics &oOverallMetrics ) : System.Boolean
oExcelTemplateGroupInfo ExcelTemplateGroupInfo
oCalculateGraphMetricsContext CalculateGraphMetricsContext
oOverallMetrics OverallMetrics
return System.Boolean