* src/tgba/bdddict.hh (bdd_dict) <fv_map, vf_map, ref_set,

vr_map, free_annonymous_list_of_type>: Redeclare as std::map,
instead of Sgi::hash_map.  It proved to be faster.
* src/tgbaalgos/ltl2tgba_fm.cc (translate_dict) <fv_map, vf_map>:
Use the same definition as in bdd_dict.
* tgbaalgos/reachiter.hh, tgbaalgos/replayrun.cc: Explicitly
include misc/hash.hh.
This commit is contained in:
Alexandre Duret-Lutz 2004-12-15 16:23:07 +00:00
parent b0a51a0656
commit 752d4afc31
5 changed files with 18 additions and 14 deletions

View file

@ -72,11 +72,8 @@ namespace spot
bdd_dict* dict;
/// Formula-to-BDD-variable maps.
typedef Sgi::hash_map<const formula*, int,
ptr_hash<formula> > fv_map;
/// BDD-variable-to-formula maps.
typedef Sgi::hash_map<int, const formula*> vf_map;
typedef bdd_dict::fv_map fv_map;
typedef bdd_dict::vf_map vf_map;
fv_map next_map; ///< Maps "Next" variables to BDD variables
vf_map next_formula_map; ///< Maps BDD variables to "Next" variables