C# 클래스 Smrf.NodeXL.Algorithms.OneSnapGraphMetricCalculatorBase

Calculates one per-vertex graph metric using the SNAP graph library.
This is a base class for several classes that use the SNAP graph library to calculate one per-vertex graph metric in the enumeration. "Per-vertex" means that a metric is computed for each vertex in the graph, as opposed to "per-graph," for which there is a single metric value for the entire graph.

If a vertex is isolated, its metric value is zero.

상속: OneDoubleGraphMetricCalculatorBase
파일 보기 프로젝트 열기: 2014-sed-team3/term-project

보호된 프로퍼티들

프로퍼티 타입 설명
m_eSnapGraphMetric SnapGraphMetrics
m_sExpectedHeaderLineInOutputFile String
m_sGraphMetricDescription String

공개 메소드들

메소드 설명
AssertValid ( ) : void
TryCalculateGraphMetrics ( IGraph graph, BackgroundWorker backgroundWorker, Double>.Dictionary &graphMetrics ) : System.Boolean

보호된 메소드들

메소드 설명
OneSnapGraphMetricCalculatorBase ( SnapGraphMetrics snapGraphMetric, String graphMetricDescription, String expectedHeaderLineInOutputFile ) : System

Initializes a new instance of the class.

메소드 상세

AssertValid() 공개 메소드

public AssertValid ( ) : void
리턴 void

OneSnapGraphMetricCalculatorBase() 보호된 메소드

Initializes a new instance of the class.
protected OneSnapGraphMetricCalculatorBase ( SnapGraphMetrics snapGraphMetric, String graphMetricDescription, String expectedHeaderLineInOutputFile ) : System
snapGraphMetric SnapGraphMetrics /// The graph metric to calculate. Must be just one value in the enumeration. ///
graphMetricDescription String /// A description suitable for use within the sentence "Calculating /// [GraphMetricDescription]." ///
expectedHeaderLineInOutputFile String /// The expected header line in the output file created by SNAP. This is /// used for diagnostic purposes. ///
리턴 System

TryCalculateGraphMetrics() 공개 메소드

public TryCalculateGraphMetrics ( IGraph graph, BackgroundWorker backgroundWorker, Double>.Dictionary &graphMetrics ) : System.Boolean
graph IGraph
backgroundWorker System.ComponentModel.BackgroundWorker
graphMetrics Double>.Dictionary
리턴 System.Boolean

프로퍼티 상세

m_eSnapGraphMetric 보호되어 있는 프로퍼티

protected SnapGraphMetrics m_eSnapGraphMetric
리턴 SnapGraphMetrics

m_sExpectedHeaderLineInOutputFile 보호되어 있는 프로퍼티

protected String m_sExpectedHeaderLineInOutputFile
리턴 String

m_sGraphMetricDescription 보호되어 있는 프로퍼티

protected String m_sGraphMetricDescription
리턴 String