diff options
author | Bruno Haible <bruno@clisp.org> | 2003-02-20 12:21:17 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2003-02-20 12:21:17 +0000 |
commit | f1da37e04b52e2479b1dcf7570fb195f3bf2f024 (patch) | |
tree | 5c535c44b12cc7f3068b9dbc0c86ab34e4aef88e /ChangeLog | |
parent | 1d73fbe0191e1249bf4f61149b4f4352e53438cb (diff) | |
download | gperf-f1da37e04b52e2479b1dcf7570fb195f3bf2f024.tar.gz |
Prepare for backtracking.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1,5 +1,20 @@ 2002-11-19 Bruno Haible <bruno@clisp.org> + Prepare for backtracking. + * src/search.h (Search::try_asso_value, Search::change_some_asso_value): + Remove declarations. + (Search::less_collisions, Search::collision_prior_to): New declarations. + (Search::_fewest_collisions, Search::_union_set, Search::_num_done): + Remove fields. + * src/search.cc (Search::prepare_asso_values): Don't initialize + _union_set. + (Search::try_asso_value, Search::change_some_asso_value): Remove + methods. + (Search::less_collisions, Search::collision_prior_to): New methods. + (StackEntry): New class. + (Search::find_asso_values): Reorganized to use pseudo-recursion. + (Search::~Search): Don't free _union_set. + * src/search.h (Search::find_good_asso_values): New declaration. * src/search.cc: Add comments about the basic structure of the algorithm. |