diff --git a/include/r3.h b/include/r3.h index 17c669b..6a3db24 100644 --- a/include/r3.h +++ b/include/r3.h @@ -70,13 +70,14 @@ struct _node { }; struct _edge { - char * pattern; - int pattern_len; - /* the child node */ node * child; /* the parent node */ node * parent; + + char * pattern; + int pattern_len; + float score; bool has_slug:1; };