FreeLing  3.0
Public Member Functions | Public Attributes
trellis::element Class Reference

Each trellis node contains an ordered set of paths. More...

List of all members.

Public Member Functions

 element (const std::wstring &, int, double)
 constructor
 ~element ()
 destructor
bool operator< (const element &) const
 Comparison to sort analysis by *decreasing* probability.
bool operator== (const element &) const
 Comparison (to please MSVC)

Public Attributes

std::wstring state
 origin state
int kbest
 kbest sequence in origin state
double prob
 probability of the whole sequence from this origin

Detailed Description

Each trellis node contains an ordered set of paths.

This class stores one path element.


Constructor & Destructor Documentation

trellis::element::element ( const std::wstring &  ,
int  ,
double   
)

constructor

trellis element constructor

destructor

trellis element destructor


Member Function Documentation

bool trellis::element::operator< ( const element e) const

Comparison to sort analysis by *decreasing* probability.

Comparison to sort kbest paths by *decreasing* probability.

References prob.

bool trellis::element::operator== ( const element e) const

Comparison (to please MSVC)

References prob.


Member Data Documentation

kbest sequence in origin state

probability of the whole sequence from this origin

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

origin state


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