FreeLing  4.0
Public Member Functions | Public Attributes
freeling::trellis::element Class Reference

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

Collaboration diagram for freeling::trellis::element:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 element (const bigram &, int, double)
 constructor
 ~element ()
 destructor
bool operator< (const element &) const
 Comparison to sort paths by probability.
bool operator> (const element &) const
bool operator== (const element &) const
 Comparison (to please MSVC)

Public Attributes

bigram 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

freeling::trellis::element::element ( const bigram s,
int  k,
double  p 
)

constructor

trellis element constructor

destructor

trellis element destructor


Member Function Documentation

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

Comparison to sort paths by probability.

Comparisons to sort kbest paths by probability.

References prob.

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

Comparison (to please MSVC)

References prob.

bool freeling::trellis::element::operator> ( const element e) const

References prob.


Member Data Documentation

kbest sequence in origin state

probability of the whole sequence from this origin

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

origin state


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