* src/ltlvisit/reducform.hh: Update Doxygen comments for

previous change.
This commit is contained in:
Alexandre Duret-Lutz 2004-05-25 12:55:48 +00:00
parent 8f82f1d5f3
commit 20bdf49a70
2 changed files with 14 additions and 9 deletions

View file

@ -1,5 +1,8 @@
2004-05-25 Alexandre Duret-Lutz <adl@src.lip6.fr> 2004-05-25 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/ltlvisit/reducform.hh: Update Doxygen comments for
previous change.
* src/ltlvisit/reducform.hh (option): Rename as ... * src/ltlvisit/reducform.hh (option): Rename as ...
(reduce_options): ... this, and use it as a bit field so (reduce_options): ... this, and use it as a bit field so
option can be combined easily. option can be combined easily.

View file

@ -30,25 +30,27 @@ namespace spot
namespace ltl namespace ltl
{ {
/// Options for spot::ltl::reduce.
enum reduce_options enum reduce_options
{ {
/// No reduction.
Reduce_None = 0, Reduce_None = 0,
/// Basic reductions.
Reduce_Basics = 1, Reduce_Basics = 1,
/// Somenzi & Bloem syntactic implication.
Reduce_Syntactic_Implications = 2, Reduce_Syntactic_Implications = 2,
/// Etessami & Holzmann eventuality and universality reductions.
Reduce_Eventuality_And_Universality = 4, Reduce_Eventuality_And_Universality = 4,
/// All reductions.
Reduce_All = -1U Reduce_All = -1U
}; };
/// \brief Reduce a formula \a f using Basic rewriting, implies /// \brief Reduce a formula \a f.
/// relation, and class of eventuality and univerality formula.
/// ///
/// Put the formula in negative normal form with /// \param f the formula to reduce
/// spot::ltl::negative_normal_form and then reduce it according /// \param opt a conjonction of spot::ltl::reduce_options specifying
/// to options: // which optimizations to apply.
/// Base for spot::ltl::Basic_reduce_form, /// \return the reduced formula
/// Inf for spot::ltl::reduce_inf_form,
/// EventualUniversal for spot::ltl::reduce_eventuality_universality_form,
/// BRI for spot::ltl::reduce_form.
formula* reduce(const formula* f, int opt = Reduce_All); formula* reduce(const formula* f, int opt = Reduce_All);
/// Implement basic rewriting. /// Implement basic rewriting.