C# Class Smrf.NodeXL.ExcelTemplate.VertexDegreeCalculator2

Calculates the in-degree, out-degree, and degree for each of the graph's vertices.
See Algorithms.VertexDegreeCalculator for details on how degrees are calculated.
Inheritance: GraphMetricCalculatorBase2
Datei anzeigen Open project: 2014-sed-team3/term-project

Public Methods

Method Description
AssertValid ( ) : void
TryCalculateGraphMetrics ( IGraph graph, CalculateGraphMetricsContext calculateGraphMetricsContext, GraphMetricColumn &graphMetricColumns ) : System.Boolean
VertexDegreeCalculator2 ( ) : System

Initializes a new instance of the class.

Protected Methods

Method Description
FilterGraphMetricColumns ( IGraph oGraph, CalculateGraphMetricsContext oCalculateGraphMetricsContext, List oInDegreeGraphMetricValues, List oOutDegreeGraphMetricValues, List oDegreeGraphMetricValues ) : Smrf.NodeXL.ExcelTemplate.GraphMetricColumn[]

Method Details

AssertValid() public method

public AssertValid ( ) : void
return void

FilterGraphMetricColumns() protected method

protected FilterGraphMetricColumns ( IGraph oGraph, CalculateGraphMetricsContext oCalculateGraphMetricsContext, List oInDegreeGraphMetricValues, List oOutDegreeGraphMetricValues, List oDegreeGraphMetricValues ) : Smrf.NodeXL.ExcelTemplate.GraphMetricColumn[]
oGraph IGraph
oCalculateGraphMetricsContext CalculateGraphMetricsContext
oInDegreeGraphMetricValues List
oOutDegreeGraphMetricValues List
oDegreeGraphMetricValues List
return Smrf.NodeXL.ExcelTemplate.GraphMetricColumn[]

TryCalculateGraphMetrics() public method

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

VertexDegreeCalculator2() public method

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