• Alexandre Duret-Lutz's avatar
    twa_run: keep a pointer to the automaton · 63917def
    Alexandre Duret-Lutz authored
    This simplify all laters invocations, because we do not have to pass
    the automaton the run was generated on.
    This fixes #113 by allowing the __str__ function to be implemented on
    * src/twaalgos/emptiness.cc, src/twaalgos/emptiness.hh (twa_run):
    Store the automaton.
    (prin_twa_run): Rewrite as an overloaded <<.
    * src/twaalgos/reducerun.cc, src/twaalgos/reducerun.hh (reduce_run):
    Do not like the automaton as a parameter.
    * src/twaalgos/replayrun.cc, src/twaalgos/replayrun.hh (replay_twa_run):
    * src/bin/common_aoutput.hh, src/bin/ltlcross.cc,
    src/tests/complementation.cc, src/tests/ikwiad.cc,
    src/tests/randtgba.cc, src/twaalgos/gtec/ce.cc, src/twaalgos/gv04.cc,
    src/twaalgos/magic.cc, src/twaalgos/ndfs_result.hxx,
    src/twaalgos/se05.cc, src/twaalgos/projrun.cc: Adjust.
    * wrap/python/ajax/spotcgi.in: Add a __str__ function to twa_run_ptr.
    * wrap/python/spot_impl.i: Adjust.
se05.cc 20.6 KB