presage  0.9.2~beta
Public Member Functions | Public Attributes | List of all members
TrigramKey Class Reference

#include <ARPAPredictor.h>

Collaboration diagram for TrigramKey:
Collaboration graph

Public Member Functions

 TrigramKey (int wd1, int wd2, int wd3)
 
bool operator< (const TrigramKey &right) const
 
bool operator== (const TrigramKey &right) const
 

Public Attributes

int key1
 
int key2
 
int key3
 

Detailed Description

Definition at line 54 of file ARPAPredictor.h.

Constructor & Destructor Documentation

◆ TrigramKey()

TrigramKey::TrigramKey ( int  wd1,
int  wd2,
int  wd3 
)
inline

Definition at line 57 of file ARPAPredictor.h.

Member Function Documentation

◆ operator<()

bool TrigramKey::operator< ( const TrigramKey right) const
inline

Definition at line 59 of file ARPAPredictor.h.

References key1, key2, and key3.

◆ operator==()

bool TrigramKey::operator== ( const TrigramKey right) const
inline

Definition at line 75 of file ARPAPredictor.h.

References key1, key2, and key3.

Member Data Documentation

◆ key1

int TrigramKey::key1

Definition at line 79 of file ARPAPredictor.h.

Referenced by operator<(), operator==(), and BigramKey::operator==().

◆ key2

int TrigramKey::key2

Definition at line 80 of file ARPAPredictor.h.

Referenced by operator<(), operator==(), and BigramKey::operator==().

◆ key3

int TrigramKey::key3

Definition at line 81 of file ARPAPredictor.h.

Referenced by operator<(), and operator==().


The documentation for this class was generated from the following file: