From 8471f42579a786b22f9459607d6a38f85d3ec972 Mon Sep 17 00:00:00 2001 From: c9s Date: Thu, 22 May 2014 20:26:27 +0800 Subject: [PATCH] edge alignment --- include/r3.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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; };