37 #ifndef __EST_RELATION_H__ 38 #define __EST_RELATION_H__ 78 int &node_count)
const;
80 static void node_tidy_up_val(
int &k,
EST_Val &v);
143 int empty()
const {
return p_head == 0; }
173 bool evaluate_ff =
false)
const;
178 bool evaluate_ff =
false)
const;
186 bool evaluate_ff)
const;
204 {
return (&a == &b); }
218 : rel(r), next(
NULL) { reset();};
223 {
return next !=
NULL; }
void remove_item(EST_Item *item)
EST_Item * last_leaf() const
EST_Relation(const EST_Relation &r)
void copy_relation(const EST_Relation &from, EST_Relation &to)
EST_Relation_Iterator Iterator
void set_utt(EST_Utterance *u)
void evaluate_item_features()
EST_Relation & operator=(const EST_Relation &s)
#define VAL_REGISTER_CLASS_DCLS(NAME, CLASS)
const EST_String & name() const
EST_Item * first_leaf() const
Templated Key-Value list. Objects of type EST_TKVL contain lists which are accessed by a key of type ...
EST_Relation * relation(void) const
The relation of this particular item.
EST_Utterance * utt(void)
EST_Relation_Iterator(const EST_Relation &r)
EST_Utterance * get_utt(EST_Item *s)
An open hash table. The number of buckets should be set to allow enough space that there are relative...
friend ostream & operator<<(ostream &s, const EST_Relation &u)
EST_write_status save(const EST_String &filename, bool evaluate_ff=false) const
void remove_item_feature(const EST_String &name)
EST_read_status load(const EST_String &filename, const EST_String &type="esps")
EST_TList< EST_Relation > EST_RelationList
static const EST_String Empty
Constant empty string.