37 #ifndef __EST_RELATION_H__
38 #define __EST_RELATION_H__
40 #include "EST_String.h"
41 #include "EST_TList.h"
43 #include "EST_THash.h"
45 #include "EST_types.h"
46 #include "EST_Token.h"
47 #include "EST_Features.h"
48 #include "ling_class/EST_Item.h"
76 EST_write_status save_items(
EST_Item *item,
80 int &node_count)
const;
82 static void node_tidy_up_val(
int &k,
EST_Val &v);
83 static void node_tidy_up(
int &k,
EST_Item *node);
147 int empty()
const {
return p_head == 0; }
177 bool evaluate_ff =
false)
const;
182 bool evaluate_ff =
false)
const;
188 EST_write_status
save(ostream &outf,
190 bool evaluate_ff)
const;
195 friend ostream& operator << (ostream &s,
const EST_Relation &u);
208 {
return (&a == &b); }
222 : rel(r), next(NULL) { reset();};
226 bool has_more_elements()
227 {
return next != NULL; }