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

Base class for classes that implement .
상속: Object, IGraphMetricCalculator
파일 보기 프로젝트 열기: 2014-sed-team3/term-project

공개 메소드들

메소드 설명
CalculateProgressInPercent ( Int32 calculationsCompleted, Int32 totalCalculations ) : Int32
SetSnapGraphMetricCalculatorPath ( String snapGraphMetricCalculatorPath ) : void

보호된 메소드들

메소드 설명
CalculateEdgesInFullyConnectedNeighborhood ( Int32 iAdjacentVertices, System.Boolean bGraphIsDirected ) : Int32
CalculateSnapGraphMetrics ( IGraph oGraph, SnapGraphMetrics eSnapGraphMetrics ) : String
CalculateSnapGraphMetrics ( IGraph oGraph, SnapGraphMetrics eSnapGraphMetrics, List oGroups ) : String
CreateSnapGroupInputFile ( List oGroups, String sSnapGroupInputFilePath ) : void
CreateSnapInputFile ( IGraph oGraph, String sSnapInputFilePath ) : void
DeleteSnapFile ( String sSnapFilePath ) : void
GetSnapGraphMetricCalculatorPath ( SnapGraphMetrics eSnapGraphMetrics ) : String
ParseSnapDoubleGraphMetricValue ( String asFieldsFromSnapOutputFileLine, Int32 iFieldIndex ) : Double
ParseSnapInt32GraphMetricValue ( String asFieldsFromSnapOutputFileLine, Int32 iFieldIndex ) : Int32
ReportCannotCalculateGraphMetrics ( String sMessage ) : void
ReportProgress ( Int32 iCalculationsSoFar, Int32 iTotalCalculations, BackgroundWorker oBackgroundWorker ) : void
ReportProgressAndCheckCancellationPending ( Int32 iCalculationsSoFar, Int32 iTotalCalculations, BackgroundWorker oBackgroundWorker ) : System.Boolean
TryCallSnapGraphMetricCalculator ( SnapGraphMetrics eSnapGraphMetrics, String sArguments, String &sStandardError ) : System.Boolean

비공개 메소드들

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

Static constructor for the GraphMetricCalculatorBase class.

메소드 상세

CalculateEdgesInFullyConnectedNeighborhood() 보호된 메소드

protected CalculateEdgesInFullyConnectedNeighborhood ( Int32 iAdjacentVertices, System.Boolean bGraphIsDirected ) : Int32
iAdjacentVertices System.Int32
bGraphIsDirected System.Boolean
리턴 System.Int32

CalculateProgressInPercent() 공개 정적인 메소드

public static CalculateProgressInPercent ( Int32 calculationsCompleted, Int32 totalCalculations ) : Int32
calculationsCompleted System.Int32
totalCalculations System.Int32
리턴 System.Int32

CalculateSnapGraphMetrics() 보호된 메소드

protected CalculateSnapGraphMetrics ( IGraph oGraph, SnapGraphMetrics eSnapGraphMetrics ) : String
oGraph IGraph
eSnapGraphMetrics SnapGraphMetrics
리턴 String

CalculateSnapGraphMetrics() 보호된 메소드

protected CalculateSnapGraphMetrics ( IGraph oGraph, SnapGraphMetrics eSnapGraphMetrics, List oGroups ) : String
oGraph IGraph
eSnapGraphMetrics SnapGraphMetrics
oGroups List
리턴 String

CreateSnapGroupInputFile() 보호된 메소드

protected CreateSnapGroupInputFile ( List oGroups, String sSnapGroupInputFilePath ) : void
oGroups List
sSnapGroupInputFilePath String
리턴 void

CreateSnapInputFile() 보호된 메소드

protected CreateSnapInputFile ( IGraph oGraph, String sSnapInputFilePath ) : void
oGraph IGraph
sSnapInputFilePath String
리턴 void

DeleteSnapFile() 보호된 메소드

protected DeleteSnapFile ( String sSnapFilePath ) : void
sSnapFilePath String
리턴 void

GetSnapGraphMetricCalculatorPath() 보호된 메소드

protected GetSnapGraphMetricCalculatorPath ( SnapGraphMetrics eSnapGraphMetrics ) : String
eSnapGraphMetrics SnapGraphMetrics
리턴 String

ParseSnapDoubleGraphMetricValue() 보호된 메소드

protected ParseSnapDoubleGraphMetricValue ( String asFieldsFromSnapOutputFileLine, Int32 iFieldIndex ) : Double
asFieldsFromSnapOutputFileLine String
iFieldIndex System.Int32
리턴 Double

ParseSnapInt32GraphMetricValue() 보호된 메소드

protected ParseSnapInt32GraphMetricValue ( String asFieldsFromSnapOutputFileLine, Int32 iFieldIndex ) : Int32
asFieldsFromSnapOutputFileLine String
iFieldIndex System.Int32
리턴 System.Int32

ReportCannotCalculateGraphMetrics() 보호된 메소드

protected ReportCannotCalculateGraphMetrics ( String sMessage ) : void
sMessage String
리턴 void

ReportProgress() 보호된 메소드

protected ReportProgress ( Int32 iCalculationsSoFar, Int32 iTotalCalculations, BackgroundWorker oBackgroundWorker ) : void
iCalculationsSoFar System.Int32
iTotalCalculations System.Int32
oBackgroundWorker System.ComponentModel.BackgroundWorker
리턴 void

ReportProgressAndCheckCancellationPending() 보호된 메소드

protected ReportProgressAndCheckCancellationPending ( Int32 iCalculationsSoFar, Int32 iTotalCalculations, BackgroundWorker oBackgroundWorker ) : System.Boolean
iCalculationsSoFar System.Int32
iTotalCalculations System.Int32
oBackgroundWorker System.ComponentModel.BackgroundWorker
리턴 System.Boolean

SetSnapGraphMetricCalculatorPath() 정적인 공개 메소드

static public SetSnapGraphMetricCalculatorPath ( String snapGraphMetricCalculatorPath ) : void
snapGraphMetricCalculatorPath String
리턴 void

TryCallSnapGraphMetricCalculator() 보호된 메소드

protected TryCallSnapGraphMetricCalculator ( SnapGraphMetrics eSnapGraphMetrics, String sArguments, String &sStandardError ) : System.Boolean
eSnapGraphMetrics SnapGraphMetrics
sArguments String
sStandardError String
리턴 System.Boolean