C# 클래스 Smrf.NodeXL.ExcelTemplate.TopNByMetricCalculator2

Calculates top-N-by metrics for the graph.
This calculator will find, for example, the top 10 vertex names ranked by betweenness centrality, and the top 20 vertex names ranked by PageRank. Its IGraphMetricCalculator2.TryCalculateGraphMetrics implementation returns multiple column pairs, one pair for each top-N-by table that needs to be written to the top-N-by worksheet.

This graph metric calculator differs from most other calculators in that it reads arbitrary columns in the Excel workbook. The other calculators look only at how the graph's vertices are connected to each other. Therefore, there is no corresponding lower-level TopNByMetricCalculator class in the Smrf.NodeXL.Algorithms namespace, and the top-N-by metrics cannot be calculated outside of this ExcelTemplate project.

상속: TopItemsCalculatorBase2
파일 보기 프로젝트 열기: 2014-sed-team3/term-project 1 사용 예제들

공개 메소드들

메소드 설명
AssertValid ( ) : void
TopNByMetricCalculator2 ( ) : System

Initializes a new instance of the class.

보호된 메소드들

메소드 설명
TryCalculateGraphMetricsInternal ( IGraph oGraph, CalculateGraphMetricsContext oCalculateGraphMetricsContext, List oGraphMetricColumns ) : System.Boolean

메소드 상세

AssertValid() 공개 메소드

public AssertValid ( ) : void
리턴 void

TopNByMetricCalculator2() 공개 메소드

Initializes a new instance of the class.
public TopNByMetricCalculator2 ( ) : System
리턴 System

TryCalculateGraphMetricsInternal() 보호된 메소드

protected TryCalculateGraphMetricsInternal ( IGraph oGraph, CalculateGraphMetricsContext oCalculateGraphMetricsContext, List oGraphMetricColumns ) : System.Boolean
oGraph IGraph
oCalculateGraphMetricsContext CalculateGraphMetricsContext
oGraphMetricColumns List
리턴 System.Boolean