FreeLing  4.0
Public Member Functions | Protected Attributes
freeling::ruleCG Class Reference

Class rule implements a rule of a CG. More...

#include <constraint_grammar.h>

Inheritance diagram for freeling::ruleCG:
Inheritance graph
[legend]
Collaboration diagram for freeling::ruleCG:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ruleCG ()
 Constructors of the subclass rule.
void set_head (const std::wstring &)
 set rule head.
void set_weight (double)
 set rule compatibility.
std::wstring get_head () const
 get rule head.
double get_weight () const
 set rule compatibility.

Protected Attributes

double weight
 compatibility value
std::wstring head
 Head of the rule.

Detailed Description

Class rule implements a rule of a CG.


Constructor & Destructor Documentation

Constructors of the subclass rule.


Member Function Documentation

std::wstring freeling::ruleCG::get_head ( ) const

get rule head.

double freeling::ruleCG::get_weight ( ) const

set rule compatibility.

void freeling::ruleCG::set_head ( const std::wstring &  )

set rule head.

void freeling::ruleCG::set_weight ( double  )

set rule compatibility.


Member Data Documentation

std::wstring freeling::ruleCG::head [protected]

Head of the rule.

double freeling::ruleCG::weight [protected]

compatibility value


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