Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

edge Class Reference

Class edge stores all information in a chart edge. More...

#include <chart.h>

Inheritance diagram for edge:

Inheritance graph
[legend]
Collaboration diagram for edge:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 edge (const string &, const list< string > &, const int posgov)
 Constructors of the subclass edge.
 edge ()
const list< string > get_matched () const
 get matched part of the rule.
const list< 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

list< string > matched
 Part of the rule already matched.
list< pair< int, int > > backpath

Detailed Description

Class edge stores all information in a chart edge.


Constructor & Destructor Documentation

edge::edge const string &  ,
const list< string > &  ,
const int  posgov
 

Constructors of the subclass edge.

edge::edge  ) 
 


Member Function Documentation

bool edge::active  )  const
 

Check if the edge is complete (inactive) or not.

const list<pair<int,int> > edge::get_backpath  )  const
 

get list of cells used to satisfy edge rule

const list<string> edge::get_matched  )  const
 

get matched part of the rule.

void edge::shift int  ,
int 
 

Advance the edge one position.


Member Data Documentation

list<pair<int,int> > edge::backpath [private]
 

list<string> edge::matched [private]
 

Part of the rule already matched.


The documentation for this class was generated from the following file:
Generated on Wed Apr 26 12:58:08 2006 for FreeLing by  doxygen 1.4.4