C# Класс 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.
Наследование: GraphMetricCalculatorBase2
Показать файл Открыть проект

Открытые методы

Метод Описание
AssertValid ( ) : void
TopItemsCalculatorBase2 ( ) : System

Initializes a new instance of the class.

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

Защищенные методы

Метод Описание
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

Описание методов

AddColumnsForRankedVertices() защищенный Метод

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
Результат void

AssertValid() публичный Метод

public AssertValid ( ) : void
Результат void

RankVertices() защищенный Метод

protected RankVertices ( IEnumerable oVertices, String sRankedColumnName ) : IList
oVertices IEnumerable
sRankedColumnName String
Результат IList

TopItemsCalculatorBase2() публичный Метод

Initializes a new instance of the class.
public TopItemsCalculatorBase2 ( ) : System
Результат System

TryCalculateGraphMetrics() публичный Метод

public TryCalculateGraphMetrics ( IGraph graph, CalculateGraphMetricsContext calculateGraphMetricsContext, GraphMetricColumn &graphMetricColumns ) : System.Boolean
graph IGraph
calculateGraphMetricsContext CalculateGraphMetricsContext
graphMetricColumns GraphMetricColumn
Результат System.Boolean

TryCalculateGraphMetricsInternal() защищенный абстрактный Метод

protected abstract TryCalculateGraphMetricsInternal ( IGraph oGraph, CalculateGraphMetricsContext oCalculateGraphMetricsContext, List oGraphMetricColumns ) : System.Boolean
oGraph IGraph
oCalculateGraphMetricsContext CalculateGraphMetricsContext
oGraphMetricColumns List
Результат System.Boolean