diff options
author | szengel <szengel@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-09-23 16:24:28 +0000 |
---|---|---|
committer | szengel <szengel@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-09-23 16:24:28 +0000 |
commit | 80d46e94c3ecd19cf3d97a9a4728b4809621b28a (patch) | |
tree | ed580db1dab021535bcb4fd2228a0771aa32c8d2 /src/regex/regex_internal.h | |
parent | 642cd8781b1e3dcf750079dc15d7b1bce7479927 (diff) |
DFA path compression
git-svn-id: https://gnunet.org/svn/gnunet@23959 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/regex/regex_internal.h')
-rw-r--r-- | src/regex/regex_internal.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/regex/regex_internal.h b/src/regex/regex_internal.h index 8b576a90e0..7ab51ba699 100644 --- a/src/regex/regex_internal.h +++ b/src/regex/regex_internal.h @@ -120,7 +120,7 @@ struct GNUNET_REGEX_State /** * Marking the state as contained. This is used for checking, if the state is - * contained in a set in constant time + * contained in a set in constant time. */ int contained; @@ -181,6 +181,11 @@ struct GNUNET_REGEX_State struct GNUNET_REGEX_Transition *transitions_tail; /** + * Number of incoming transitions. Used for compressing DFA paths. + */ + unsigned int incoming_transition_count; + + /** * Set of states on which this state is based on. Used when creating a DFA out * of several NFA states. */ |