|
FreeLing
4.0
|
Class edge stores all information in a chart edge. More...
#include <chart.h>


Public Member Functions | |
| edge (const std::wstring &, const std::list< std::wstring > &, const int posgov) | |
| Constructors of the subclass edge. | |
| edge () | |
| ~edge () | |
| const std::list< std::wstring > | get_matched () const |
| get matched part of the rule. | |
| const std::list< std::pair < int, int > > | get_backpath () const |
| get list of cells used to satisfy edge rule | |
| bool | active () const |
| Check if the edge is complete (inactive) or not. | |
| void | shift (int, int) |
| Advance the edge one position. | |
Private Attributes | |
| std::list< std::wstring > | matched |
| Part of the rule already matched. | |
| std::list< std::pair< int, int > > | backpath |
Class edge stores all information in a chart edge.
| freeling::edge::edge | ( | const std::wstring & | , |
| const std::list< std::wstring > & | , | ||
| const int | posgov | ||
| ) |
Constructors of the subclass edge.
| bool freeling::edge::active | ( | ) | const |
Check if the edge is complete (inactive) or not.
| const std::list<std::pair<int,int> > freeling::edge::get_backpath | ( | ) | const |
get list of cells used to satisfy edge rule
| const std::list<std::wstring> freeling::edge::get_matched | ( | ) | const |
get matched part of the rule.
| void freeling::edge::shift | ( | int | , |
| int | |||
| ) |
Advance the edge one position.
std::list<std::pair<int,int> > freeling::edge::backpath [private] |
std::list<std::wstring> freeling::edge::matched [private] |
Part of the rule already matched.
1.7.6.1