Edinburgh Speech Tools  2.1-release
EST_SCFG_Chart_Edge Class Reference

An internal class for EST_SCFG_Chart for representing edges in the chart during parsing with SCFGs. More...

#include <include/EST_SCFG_Chart.h>

Public Member Functions

int pos (void)
 Postion, 0 1 or 2, where 0 is empty, 1 is incomplete 2 is complete. More...
 
double prob (void)
 Edge probability. More...
 
int d1 ()
 (Non)terminal of daughter 1 More...
 
int d2 ()
 (Non)terminal of daughter 2 More...
 
Constructor and initialisation functions
 EST_SCFG_Chart_Edge ()
 
 EST_SCFG_Chart_Edge (double prob, int d1, int d2, int pos)
 
 ~EST_SCFG_Chart_Edge ()
 

Detailed Description

An internal class for EST_SCFG_Chart for representing edges in the chart during parsing with SCFGs.

A standard Earley type chart edge, with representations for two daughters and a position or what has been recognised. A probability is also included.

Definition at line 59 of file EST_SCFG_Chart.h.

Constructor & Destructor Documentation

EST_SCFG_Chart_Edge::EST_SCFG_Chart_Edge ( )

Definition at line 48 of file EST_SCFG_Chart.cc.

EST_SCFG_Chart_Edge::EST_SCFG_Chart_Edge ( double  prob,
int  d1,
int  d2,
int  pos 
)

Definition at line 56 of file EST_SCFG_Chart.cc.

EST_SCFG_Chart_Edge::~EST_SCFG_Chart_Edge ( )

Definition at line 66 of file EST_SCFG_Chart.cc.

Member Function Documentation

int EST_SCFG_Chart_Edge::pos ( void  )
inline

Postion, 0 1 or 2, where 0 is empty, 1 is incomplete 2 is complete.

Definition at line 74 of file EST_SCFG_Chart.h.

double EST_SCFG_Chart_Edge::prob ( void  )
inline

Edge probability.

Definition at line 76 of file EST_SCFG_Chart.h.

int EST_SCFG_Chart_Edge::d1 ( )
inline

(Non)terminal of daughter 1

Definition at line 78 of file EST_SCFG_Chart.h.

int EST_SCFG_Chart_Edge::d2 ( )
inline

(Non)terminal of daughter 2

Definition at line 80 of file EST_SCFG_Chart.h.


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