#include <include/EST_SCFG_Chart.h>
Public Member Functions | |
Constructor and initialisation functions | |
EST_SCFG_Chart_Edge () | |
EST_SCFG_Chart_Edge (double prob, int d1, int d2, int pos) | |
~EST_SCFG_Chart_Edge () | |
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... | |
An internal class for \Ref{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 58 of file EST_SCFG_Chart.h.
EST_SCFG_Chart_Edge::EST_SCFG_Chart_Edge | ( | ) |
Definition at line 46 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 50 of file EST_SCFG_Chart.cc.
EST_SCFG_Chart_Edge::~EST_SCFG_Chart_Edge | ( | ) |
Definition at line 60 of file EST_SCFG_Chart.cc.
|
inline |
Postion, 0 1 or 2, where 0 is empty, 1 is incomplete 2 is complete.
Definition at line 73 of file EST_SCFG_Chart.h.
|
inline |
Edge probability.
Definition at line 75 of file EST_SCFG_Chart.h.
|
inline |
(Non)terminal of daughter 1
Definition at line 77 of file EST_SCFG_Chart.h.
|
inline |
(Non)terminal of daughter 2
Definition at line 79 of file EST_SCFG_Chart.h.