C# Class Smrf.NodeXL.ExcelTemplate.TwitterSearchNetworkVertexMetricUtil

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

Public Methods

Method Description
AddGraphMetricColumns ( List graphMetricColumns ) : void
AddGraphMetricValueForTopStrings ( IEnumerable edges, String edgeColumnName, Int32 maximumTopStrings, Int32 vertexRowID, List topStringsByCountGraphMetricValues, List topStringsBySalienceGraphMetricValues ) : void
AddGraphMetricValuesForTopWordsAndWordPairs ( IEnumerable edges, String statusEdgeColumnName, Int32 maximumTopTerms, WordCounter wordCounter, WordPairCounter wordPairCounter, Int32 vertexRowID, List topWordsInTweetByCountGraphMetricValues, List topWordsInTweetBySalienceGraphMetricValues, List topWordPairsInTweetByCountGraphMetricValues, List topWordPairsInTweetBySalienceGraphMetricValues ) : void
CreateCountersForWordsAndWordPairs ( String searchTerm, CalculateGraphMetricsContext calculateGraphMetricsContext, WordCounter &wordCounter, WordPairCounter &wordPairCounter ) : void
GetUniqueEdgesByUser ( IGraph graph ) : List>.Dictionary

Private Methods

Method Description
AddGraphMetricColumn ( List graphMetricValues, String graphMetricColumnName, List graphMetricColumns ) : void
AddGraphMetricValueForTopStringsByCount ( IEnumerable edges, String edgeColumnName, Int32 maximumTopStrings, Int32 vertexRowID, List graphMetricValues ) : void
AddGraphMetricValueForTopStringsBySalience ( IEnumerable edges, String edgeColumnName, Int32 maximumTopStrings, Int32 vertexRowID, List graphMetricValues ) : void
ConcatenateTopStringsByCount ( IEnumerable edges, String edgeColumnName, Int32 maximumTopStrings ) : String
ConcatenateTopStringsBySalience ( IEnumerable edges, String edgeColumnName, Int32 maximumTopStrings ) : String
ConcatenateTopWordsAndWordPairs ( IEnumerable oEdges, String sStatusEdgeColumnName, Int32 iMaximumTopStrings, WordCounter oWordCounter, WordPairCounter oWordPairCounter, String &sTopWordsInTweetByCount, String &sTopWordsInTweetBySalience, String &sTopWordPairsInTweetByCount, String &sTopWordPairsInTweetBySalience ) : void

Method Details

AddGraphMetricColumns() public static method

public static AddGraphMetricColumns ( List graphMetricColumns ) : void
graphMetricColumns List
return void

AddGraphMetricValueForTopStrings() public static method

public static AddGraphMetricValueForTopStrings ( IEnumerable edges, String edgeColumnName, Int32 maximumTopStrings, Int32 vertexRowID, List topStringsByCountGraphMetricValues, List topStringsBySalienceGraphMetricValues ) : void
edges IEnumerable
edgeColumnName String
maximumTopStrings System.Int32
vertexRowID System.Int32
topStringsByCountGraphMetricValues List
topStringsBySalienceGraphMetricValues List
return void

AddGraphMetricValuesForTopWordsAndWordPairs() public static method

public static AddGraphMetricValuesForTopWordsAndWordPairs ( IEnumerable edges, String statusEdgeColumnName, Int32 maximumTopTerms, WordCounter wordCounter, WordPairCounter wordPairCounter, Int32 vertexRowID, List topWordsInTweetByCountGraphMetricValues, List topWordsInTweetBySalienceGraphMetricValues, List topWordPairsInTweetByCountGraphMetricValues, List topWordPairsInTweetBySalienceGraphMetricValues ) : void
edges IEnumerable
statusEdgeColumnName String
maximumTopTerms System.Int32
wordCounter WordCounter
wordPairCounter WordPairCounter
vertexRowID System.Int32
topWordsInTweetByCountGraphMetricValues List
topWordsInTweetBySalienceGraphMetricValues List
topWordPairsInTweetByCountGraphMetricValues List
topWordPairsInTweetBySalienceGraphMetricValues List
return void

CreateCountersForWordsAndWordPairs() public static method

public static CreateCountersForWordsAndWordPairs ( String searchTerm, CalculateGraphMetricsContext calculateGraphMetricsContext, WordCounter &wordCounter, WordPairCounter &wordPairCounter ) : void
searchTerm String
calculateGraphMetricsContext CalculateGraphMetricsContext
wordCounter WordCounter
wordPairCounter WordPairCounter
return void

GetUniqueEdgesByUser() public static method

public static GetUniqueEdgesByUser ( IGraph graph ) : List>.Dictionary
graph IGraph
return List>.Dictionary