spot/src/ltlast
Alexandre Duret-Lutz 1cdfea31b0 Check trivial multop equality at build time. The makes the
equal visitor useless, since two equals formulae will now
share the same address.

* src/ltlast/multop.hh (add_sorted): New function.
(paircmp): New comparison functor.
(map): Use paircmp, we want to compare the vectors' contents,
not their addresses.
* src/ltlast/multop.cc (add_sorted): New function.
(add): Use it.
* src/ltltest/equals.cc, src/ltltest/tostring.cc: Compare
pointers instead of calling equal.
* src/ltlvisit/equals.cc, src/ltlvisit/equals.hh: Delete.
* src/ltlvisit/Makefile.am (libltlvisit_la_SOURCES): Remove
equals.cc and equals.hh.
* wrap/spot.i: Do not include equals.hh.
2003-05-16 07:39:41 +00:00
..
.cvsignore * m4/pypath.m4: New file. 2003-04-30 12:35:22 +00:00
allnodes.hh * HACKING, Makefile.am, configure.ac, m4/gccwarn.m4, 2003-04-15 10:55:16 +00:00
atomic_prop.cc Implements spot::ltl::destroy() and exercise it. 2003-05-15 18:06:54 +00:00
atomic_prop.hh Implements spot::ltl::destroy() and exercise it. 2003-05-15 18:06:54 +00:00
binop.cc Implements spot::ltl::destroy() and exercise it. 2003-05-15 18:06:54 +00:00
binop.hh Implements spot::ltl::destroy() and exercise it. 2003-05-15 18:06:54 +00:00
constant.cc Massage the AST so that identical sub-formula share the same 2003-05-15 13:39:39 +00:00
constant.hh Massage the AST so that identical sub-formula share the same 2003-05-15 13:39:39 +00:00
formula.cc Implements spot::ltl::destroy() and exercise it. 2003-05-15 18:06:54 +00:00
formula.hh Implements spot::ltl::destroy() and exercise it. 2003-05-15 18:06:54 +00:00
Makefile.am Massage the AST so that identical sub-formula share the same 2003-05-15 13:39:39 +00:00
multop.cc Check trivial multop equality at build time. The makes the 2003-05-16 07:39:41 +00:00
multop.hh Check trivial multop equality at build time. The makes the 2003-05-16 07:39:41 +00:00
predecl.hh * src/ltlast/formulae.hh: Rename as ... 2003-04-16 13:11:34 +00:00
refformula.cc Implements spot::ltl::destroy() and exercise it. 2003-05-15 18:06:54 +00:00
refformula.hh Implements spot::ltl::destroy() and exercise it. 2003-05-15 18:06:54 +00:00
unop.cc Implements spot::ltl::destroy() and exercise it. 2003-05-15 18:06:54 +00:00
unop.hh Implements spot::ltl::destroy() and exercise it. 2003-05-15 18:06:54 +00:00
visitor.hh * src/ltlast/atomic_prop.hh, src/ltlast/binop.hh, 2003-04-18 15:02:55 +00:00