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
파일 보기 프로젝트 열기: 2014-sed-team3/term-project

공개 메소드들

메소드 설명
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