C# Class Smrf.AppLib.CountedWordPair

Stores a pair of words that have been counted.
Inheritance: CountedTermBase
Show file Open project: 2014-sed-team3/term-project Class Usage Examples

Protected Properties

Property Type Description
m_dMutualInformation Double
m_sWord1 String
m_sWord2 String

Public Methods

Method Description
CountedWordPair ( String word1, String word2 ) : System

Initializes a new instance of the CountedWordPair class.

ToString ( ) : String

Private Methods

Method Description
AssertValid ( ) : void

Method Details

CountedWordPair() public method

Initializes a new instance of the CountedWordPair class.
public CountedWordPair ( String word1, String word2 ) : System
word1 String /// The pair's first word. Can't be null or empty. ///
word2 String /// The pair's second word. Can't be null or empty. ///
return System

ToString() public method

public ToString ( ) : String
return String

Property Details

m_dMutualInformation protected property

protected Double m_dMutualInformation
return Double

m_sWord1 protected property

protected String m_sWord1
return String

m_sWord2 protected property

protected String m_sWord2
return String