C# Class Smrf.NodeXL.ExcelTemplate.OverallMetricCalculator2

Calculates the overall metrics for the graph.
See Algorithms.OverallMetricCalculator for details on how overall metrics are calculated.
Inheritance: GraphMetricCalculatorBase2
Mostrar archivo Open project: 2014-sed-team3/term-project Class Usage Examples

Public Methods

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

Initializes a new instance of the class.

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

Protected Methods

Method Description
AddRow ( OverallMetricRows oOverallMetricRows ) : void
AddRow ( String sMetricName, Object oMetricValue, OverallMetricRows oOverallMetricRows ) : void
AddRow ( String sMetricName, Object oMetricValue, String sStyle, OverallMetricRows oOverallMetricRows ) : void
CreateGraphMetricColumnOrdered ( String sColumnName, List oValues ) : GraphMetricColumnOrdered

Method Details

AddRow() protected method

protected AddRow ( OverallMetricRows oOverallMetricRows ) : void
oOverallMetricRows OverallMetricRows
return void

AddRow() protected method

protected AddRow ( String sMetricName, Object oMetricValue, OverallMetricRows oOverallMetricRows ) : void
sMetricName String
oMetricValue Object
oOverallMetricRows OverallMetricRows
return void

AddRow() protected method

protected AddRow ( String sMetricName, Object oMetricValue, String sStyle, OverallMetricRows oOverallMetricRows ) : void
sMetricName String
oMetricValue Object
sStyle String
oOverallMetricRows OverallMetricRows
return void

AssertValid() public method

public AssertValid ( ) : void
return void

CreateGraphMetricColumnOrdered() protected method

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

OverallMetricCalculator2() public method

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