C# Class Smrf.NodeXL.ExcelTemplate.TopItemsCalculatorBase2

Base class for several graph metric calculators that calculate the top items in the graph.
The meaning of "top items" and the worksheet to which they are written in the workbook are determined by the derived class.
Inheritance: GraphMetricCalculatorBase2
Afficher le fichier Open project: 2014-sed-team3/term-project

Méthodes publiques

Méthode Description
AssertValid ( ) : void
TopItemsCalculatorBase2 ( ) : System

Initializes a new instance of the class.

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

Méthodes protégées

Méthode Description
AddColumnsForRankedVertices ( IEnumerable oVertices, String sRankedColumnName, Int32 iMaximumVertices, String sGraphMetricWorksheetName, String sGraphMetricTableName, String sGraphMetricColumn1Name, String sGraphMetricColumn2Name, List oGraphMetricColumns ) : void
RankVertices ( IEnumerable oVertices, String sRankedColumnName ) : IList
TryCalculateGraphMetricsInternal ( IGraph oGraph, CalculateGraphMetricsContext oCalculateGraphMetricsContext, List oGraphMetricColumns ) : System.Boolean

Method Details

AddColumnsForRankedVertices() protected méthode

protected AddColumnsForRankedVertices ( IEnumerable oVertices, String sRankedColumnName, Int32 iMaximumVertices, String sGraphMetricWorksheetName, String sGraphMetricTableName, String sGraphMetricColumn1Name, String sGraphMetricColumn2Name, List oGraphMetricColumns ) : void
oVertices IEnumerable
sRankedColumnName String
iMaximumVertices System.Int32
sGraphMetricWorksheetName String
sGraphMetricTableName String
sGraphMetricColumn1Name String
sGraphMetricColumn2Name String
oGraphMetricColumns List
Résultat void

AssertValid() public méthode

public AssertValid ( ) : void
Résultat void

RankVertices() protected méthode

protected RankVertices ( IEnumerable oVertices, String sRankedColumnName ) : IList
oVertices IEnumerable
sRankedColumnName String
Résultat IList

TopItemsCalculatorBase2() public méthode

Initializes a new instance of the class.
public TopItemsCalculatorBase2 ( ) : System
Résultat System

TryCalculateGraphMetrics() public méthode

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

TryCalculateGraphMetricsInternal() protected abstract méthode

protected abstract TryCalculateGraphMetricsInternal ( IGraph oGraph, CalculateGraphMetricsContext oCalculateGraphMetricsContext, List oGraphMetricColumns ) : System.Boolean
oGraph IGraph
oCalculateGraphMetricsContext CalculateGraphMetricsContext
oGraphMetricColumns List
Résultat System.Boolean