C# Class Smrf.NodeXL.ExcelTemplate.TwitterSearchNetworkWordMetricUtil

Provides utility methods for calculating word metrics within a Twitter search network.
Inheritance: Object
ファイルを表示 Open project: 2014-sed-team3/term-project Class Usage Examples

Public Methods

Method Description
ConcatenateTopWordsOrWordPairs ( List topWordsOrWordPairs, System.Boolean concatenateTopWords, Int32 maximumTopWordsOrWordPairs ) : String
CopyWordMetricsForGroup ( String groupNameOrDummyGroupName, GraphMetricValueOrdered word1Values, GraphMetricValueOrdered word2Values, GraphMetricValueOrdered countValues, GraphMetricValueOrdered groupNameValues, Int32 firstRowForGroup, Int32 maximumTopWordsOrWordPairs, List topWordsOrWordPairs, List topCounts ) : void
FormatWordPair ( CountedWordPair wordPair ) : String
GetGroupNameIndexesFromWordMetrics ( GraphMetricValueOrdered groupNameValues ) : Int32>.Dictionary
TryCalculateWordMetrics ( IGraph graph, CalculateGraphMetricsContext calculateGraphMetricsContext, String statusColumnName, GraphMetricColumn &wordMetricColumns ) : System.Boolean

Private Methods

Method Description
FormatWordPair ( String word1, String word2 ) : String

Method Details

ConcatenateTopWordsOrWordPairs() public static method

public static ConcatenateTopWordsOrWordPairs ( List topWordsOrWordPairs, System.Boolean concatenateTopWords, Int32 maximumTopWordsOrWordPairs ) : String
topWordsOrWordPairs List
concatenateTopWords System.Boolean
maximumTopWordsOrWordPairs System.Int32
return String

CopyWordMetricsForGroup() public static method

public static CopyWordMetricsForGroup ( String groupNameOrDummyGroupName, GraphMetricValueOrdered word1Values, GraphMetricValueOrdered word2Values, GraphMetricValueOrdered countValues, GraphMetricValueOrdered groupNameValues, Int32 firstRowForGroup, Int32 maximumTopWordsOrWordPairs, List topWordsOrWordPairs, List topCounts ) : void
groupNameOrDummyGroupName String
word1Values GraphMetricValueOrdered
word2Values GraphMetricValueOrdered
countValues GraphMetricValueOrdered
groupNameValues GraphMetricValueOrdered
firstRowForGroup System.Int32
maximumTopWordsOrWordPairs System.Int32
topWordsOrWordPairs List
topCounts List
return void

FormatWordPair() public static method

public static FormatWordPair ( CountedWordPair wordPair ) : String
wordPair Smrf.AppLib.CountedWordPair
return String

GetGroupNameIndexesFromWordMetrics() public static method

public static GetGroupNameIndexesFromWordMetrics ( GraphMetricValueOrdered groupNameValues ) : Int32>.Dictionary
groupNameValues GraphMetricValueOrdered
return Int32>.Dictionary

TryCalculateWordMetrics() public static method

public static TryCalculateWordMetrics ( IGraph graph, CalculateGraphMetricsContext calculateGraphMetricsContext, String statusColumnName, GraphMetricColumn &wordMetricColumns ) : System.Boolean
graph IGraph
calculateGraphMetricsContext CalculateGraphMetricsContext
statusColumnName String
wordMetricColumns GraphMetricColumn
return System.Boolean