ltl: remove the useless Finish operator
* src/ltlast/unop.cc, src/ltlast/unop.hh src/ltlvisit/lbt.cc, src/ltlvisit/mark.cc, src/ltlvisit/simplify.cc, src/ltlvisit/tostring.cc, src/ltlvisit/tunabbrev.cc, src/tgba/formula2bdd.cc, src/tgbaalgos/ltl2tgba_fm.cc: Remove Finish. * src/tgbaalgos/ltl2taa.cc: Remove Finish, and simply use an empty destination to code the sink.
This commit is contained in:
parent
ad77145496
commit
a0d9268fda
10 changed files with 10 additions and 64 deletions
|
|
@ -98,20 +98,6 @@ namespace spot
|
|||
is.syntactic_persistence = is.syntactic_safety;
|
||||
is.accepting_eword = false;
|
||||
break;
|
||||
case Finish:
|
||||
is.not_marked = true;
|
||||
is.boolean = false;
|
||||
is.ltl_formula = false;
|
||||
is.psl_formula = false;
|
||||
is.sere_formula = false;
|
||||
is.finite = false;
|
||||
is.syntactic_safety = false;
|
||||
is.syntactic_guarantee = false;
|
||||
is.syntactic_obligation = false;
|
||||
is.syntactic_recurrence = false;
|
||||
is.syntactic_persistence = false;
|
||||
is.accepting_eword = false;
|
||||
break;
|
||||
case NegClosure:
|
||||
case NegClosureMarked:
|
||||
is.not_marked = (op == NegClosure);
|
||||
|
|
@ -181,8 +167,6 @@ namespace spot
|
|||
return "F";
|
||||
case G:
|
||||
return "G";
|
||||
case Finish:
|
||||
return "Finish";
|
||||
case Closure:
|
||||
return "Closure";
|
||||
case NegClosure:
|
||||
|
|
@ -272,10 +256,6 @@ namespace spot
|
|||
assert(child != constant::empty_word_instance());
|
||||
break;
|
||||
|
||||
case Finish:
|
||||
// No simplifications for Finish.
|
||||
break;
|
||||
|
||||
case Closure:
|
||||
// {0} = 0, {1} = 1, {b} = b
|
||||
if (child->is_boolean())
|
||||
|
|
|
|||
|
|
@ -42,8 +42,6 @@ namespace spot
|
|||
enum type {
|
||||
// LTL
|
||||
Not, X, F, G,
|
||||
// ELTL
|
||||
Finish,
|
||||
// Closure
|
||||
Closure, NegClosure, NegClosureMarked
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue