relabel_here: make it compatible with relabel_bse

* spot/twaalgos/relabel.cc: Deal with the cases where the substitution
value is a Boolean formula.
* spot/twaalgos/relabel.hh: Improve documentation.
* tests/python/relabel.py: Add more tests.
* python/spot/impl.i: Add bindings for are_isomorphic for the above
test.
* NEWS: Mention the news.
This commit is contained in:
Alexandre Duret-Lutz 2017-06-20 11:26:51 +02:00
parent 819cd7b8b6
commit 0bc1dd4446
5 changed files with 79 additions and 16 deletions

View file

@ -1,5 +1,5 @@
// -*- coding: utf-8 -*-
// Copyright (C) 2015 Laboratoire de Recherche et Développement de
// Copyright (C) 2015, 2017 Laboratoire de Recherche et Développement de
// l'Epita (LRDE).
//
// This file is part of Spot, a model checking library.
@ -24,8 +24,13 @@
namespace spot
{
/// replace atomic propositions in an automaton
/// \brief replace atomic propositions in an automaton
///
/// The relabeling map \a relmap should have keys that are atomic
/// propositions, and values that are Boolean formulas.
///
/// This function is typically used with maps produced by relabel()
/// or relabel_bse().
SPOT_API void
relabel_here(twa_graph_ptr& aut,
relabeling_map* relmap);
relabel_here(twa_graph_ptr& aut, relabeling_map* relmap);
}