Fix errors reported by clang++-2.9.
* src/evtgbaalgos/tgba2evtgba.cc (process_link): Fix prototype to match tgba_reachable_iterator::process_link. * src/ltlvisit/tunabbrev.hh: Add using super::visit, so that the other visit() method are in scope when we overload one. * src/tgba/tgbareduc.hh, src/tgba/tgbareduc.cc (start, end, process_link): Remove these empty methods. The default implementations are empty too, and process_link had the wrong prototype. * src/tgbaalgos/reductgba_sim.hh, src/tgbaalgos/reductgba_sim.cc (start, end, process_link): Likewise.
This commit is contained in:
parent
92ef9d6e07
commit
101b18b24b
7 changed files with 28 additions and 46 deletions
15
ChangeLog
15
ChangeLog
|
|
@ -1,3 +1,18 @@
|
|||
2011-08-28 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||
|
||||
Fix errors reported by clang++-2.9.
|
||||
|
||||
* src/evtgbaalgos/tgba2evtgba.cc (process_link): Fix prototype
|
||||
to match tgba_reachable_iterator::process_link.
|
||||
* src/ltlvisit/tunabbrev.hh: Add using super::visit, so that the
|
||||
other visit() method are in scope when we overload one.
|
||||
* src/tgba/tgbareduc.hh, src/tgba/tgbareduc.cc (start, end,
|
||||
process_link): Remove these empty methods. The default
|
||||
implementations are empty too, and process_link had the
|
||||
wrong prototype.
|
||||
* src/tgbaalgos/reductgba_sim.hh, src/tgbaalgos/reductgba_sim.cc
|
||||
(start, end, process_link): Likewise.
|
||||
|
||||
2011-08-27 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||
|
||||
Improve SCC simplification by removing implied acceptance conditions.
|
||||
|
|
|
|||
|
|
@ -64,7 +64,9 @@ namespace spot
|
|||
}
|
||||
|
||||
virtual void
|
||||
process_link(int in, int out, const tgba_succ_iterator* si)
|
||||
process_link(const state*, int in,
|
||||
const state*, int out,
|
||||
const tgba_succ_iterator* si)
|
||||
{
|
||||
// We might need to format out before process_state is called.
|
||||
name_map_::const_iterator i = name_.find(out);
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// Copyright (C) 2011 Laboratoire de Recherche et Développement de
|
||||
// l'Epita (LRDE).
|
||||
// Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||
// et Marie Curie.
|
||||
|
|
@ -50,6 +52,7 @@ namespace spot
|
|||
unabbreviate_ltl_visitor();
|
||||
virtual ~unabbreviate_ltl_visitor();
|
||||
|
||||
using super::visit;
|
||||
void visit(unop* uo);
|
||||
|
||||
formula* recurse(formula* f);
|
||||
|
|
|
|||
|
|
@ -129,16 +129,6 @@ namespace spot
|
|||
////////////////////////////////////////////
|
||||
// for build tgba_reduc
|
||||
|
||||
void
|
||||
tgba_reduc::start()
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
tgba_reduc::end()
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
tgba_reduc::process_state(const spot::state* s, int, tgba_succ_iterator* si)
|
||||
{
|
||||
|
|
@ -158,11 +148,6 @@ namespace spot
|
|||
}
|
||||
}
|
||||
|
||||
void
|
||||
tgba_reduc::process_link(int, int, const tgba_succ_iterator*)
|
||||
{
|
||||
}
|
||||
|
||||
tgba_explicit::transition*
|
||||
tgba_reduc::create_transition(const spot::state* source,
|
||||
const spot::state* dest)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2008, 2009, 2011 Laboratoire de Recherche et Développement
|
||||
// Copyright (C) 2008, 2009, 2011 Laboratoire de Recherche et Développement
|
||||
// de l'Epita (LRDE).
|
||||
// Copyright (C) 2004, 2005, 2006 Laboratoire d'Informatique de
|
||||
// Paris 6 (LIP6), département Systèmes Répartis Coopératifs (SRC),
|
||||
|
|
@ -81,10 +81,7 @@ namespace spot
|
|||
sp_map state_predecessor_map_;
|
||||
|
||||
// Interface of tgba_reachable_iterator_breadth_first
|
||||
void start();
|
||||
void end();
|
||||
void process_state(const spot::state* s, int n, tgba_succ_iterator* si);
|
||||
void process_link(int in, int out, const tgba_succ_iterator* si);
|
||||
|
||||
/// Create a transition using two state of a TGBA.
|
||||
transition* create_transition(const spot::state* source,
|
||||
|
|
@ -124,15 +121,15 @@ namespace spot
|
|||
/// this is explain in
|
||||
/// \verbatim
|
||||
/// @InProceedings{ etessami.00.concur,
|
||||
/// author = {Kousha Etessami and Gerard J. Holzmann},
|
||||
/// author = {Kousha Etessami and Gerard J. Holzmann},
|
||||
/// title = {Optimizing {B\"u}chi Automata},
|
||||
/// booktitle = {Proceedings of the 11th International Conference on
|
||||
/// Concurrency Theory (Concur'2000)},
|
||||
/// pages = {153--167},
|
||||
/// year = {2000},
|
||||
/// editor = {C. Palamidessi},
|
||||
/// volume = {1877},
|
||||
/// series = {Lecture Notes in Computer Science},
|
||||
/// editor = {C. Palamidessi},
|
||||
/// volume = {1877},
|
||||
/// series = {Lecture Notes in Computer Science},
|
||||
/// publisher = {Springer-Verlag}
|
||||
/// }
|
||||
/// \endverbatim
|
||||
|
|
|
|||
|
|
@ -267,16 +267,6 @@ namespace spot
|
|||
///////////////////////////////////////////////////////////////////////
|
||||
// parity_game_graph
|
||||
|
||||
void
|
||||
parity_game_graph::start()
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
parity_game_graph::end()
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
parity_game_graph::process_state(const state* s,
|
||||
int,
|
||||
|
|
@ -285,13 +275,6 @@ namespace spot
|
|||
tgba_state_.push_back(s);
|
||||
}
|
||||
|
||||
void
|
||||
parity_game_graph::process_link(int,
|
||||
int,
|
||||
const tgba_succ_iterator*)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
parity_game_graph::print(std::ostream& os)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
// Copyright (C) 2009, 2010 Laboratoire de Recherche et Développement
|
||||
// de l'Epita (LRDE).
|
||||
// Copyright (C) 2009, 2010, 2011 Laboratoire de Recherche et
|
||||
// Développement de l'Epita (LRDE).
|
||||
// Copyright (C) 2004, 2005 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||
// et Marie Curie.
|
||||
|
|
@ -116,10 +116,7 @@ namespace spot
|
|||
s_v tgba_state_;
|
||||
int nb_node_parity_game;
|
||||
|
||||
void start();
|
||||
void end();
|
||||
void process_state(const state* s, int n, tgba_succ_iterator* si);
|
||||
void process_link(int in, int out, const tgba_succ_iterator* si);
|
||||
|
||||
/// \brief Compute each node of the graph.
|
||||
virtual void build_graph() = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue