* src/ltlvisit/nenoform.cc (negative_normal_form): New const variant.
* src/ltlvisit/nenoform.hh (negative_normal_form): New const variant. * src/ltlvisit/lunabbrev.cc (unabbreviate_logic): New const variant. * src/ltlvisit/lunabbrev.hh (unabbreviate_logic): New const variant. * src/ltlvisit/tunabbrev.cc (unabbreviate_ltl): New const variant. * src/ltlvisit/tunabbrev.hh (unabbreviate_ltl): New const variant.
This commit is contained in:
parent
a889dd7dfd
commit
0ae1a32a70
7 changed files with 35 additions and 0 deletions
|
|
@ -1,3 +1,12 @@
|
||||||
|
2003-06-24 Alexandre Duret-Lutz <aduret@src.lip6.fr>
|
||||||
|
|
||||||
|
* src/ltlvisit/nenoform.cc (negative_normal_form): New const variant.
|
||||||
|
* src/ltlvisit/nenoform.hh (negative_normal_form): New const variant.
|
||||||
|
* src/ltlvisit/lunabbrev.cc (unabbreviate_logic): New const variant.
|
||||||
|
* src/ltlvisit/lunabbrev.hh (unabbreviate_logic): New const variant.
|
||||||
|
* src/ltlvisit/tunabbrev.cc (unabbreviate_ltl): New const variant.
|
||||||
|
* src/ltlvisit/tunabbrev.hh (unabbreviate_ltl): New const variant.
|
||||||
|
|
||||||
2003-06-23 Alexandre Duret-Lutz <aduret@src.lip6.fr>
|
2003-06-23 Alexandre Duret-Lutz <aduret@src.lip6.fr>
|
||||||
|
|
||||||
Switch from "promises" to "accepting set". Fix the definitions
|
Switch from "promises" to "accepting set". Fix the definitions
|
||||||
|
|
|
||||||
|
|
@ -73,5 +73,10 @@ namespace spot
|
||||||
return v.result();
|
return v.result();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const formula*
|
||||||
|
unabbreviate_logic(const formula* f)
|
||||||
|
{
|
||||||
|
return unabbreviate_logic(const_cast<formula*>(f));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,10 @@ namespace spot
|
||||||
/// binop::Equals, and binop::Xor, using only unop::Not, multop::Or,
|
/// binop::Equals, and binop::Xor, using only unop::Not, multop::Or,
|
||||||
/// and multop::And.
|
/// and multop::And.
|
||||||
formula* unabbreviate_logic(formula* f);
|
formula* unabbreviate_logic(formula* f);
|
||||||
|
/// \brief Clone rewrite a formula to remove most of the abbreviated
|
||||||
|
/// logical operators.
|
||||||
|
const formula* unabbreviate_logic(const formula* f);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -174,5 +174,11 @@ namespace spot
|
||||||
f->accept(v);
|
f->accept(v);
|
||||||
return v.result();
|
return v.result();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const formula*
|
||||||
|
negative_normal_form(const formula* f)
|
||||||
|
{
|
||||||
|
return negative_normal_form(const_cast<formula*>(f));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,8 @@ namespace spot
|
||||||
/// after spot::ltl::negative_normal_form would likely produce a
|
/// after spot::ltl::negative_normal_form would likely produce a
|
||||||
/// formula which is not in negative normal form.)
|
/// formula which is not in negative normal form.)
|
||||||
formula* negative_normal_form(formula* f, bool negated = false);
|
formula* negative_normal_form(formula* f, bool negated = false);
|
||||||
|
/// \brief Build the negative normal form of \a f.
|
||||||
|
const formula* negative_normal_form(const formula* f);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -49,5 +49,11 @@ namespace spot
|
||||||
return v.result();
|
return v.result();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const formula*
|
||||||
|
unabbreviate_ltl(const formula* f)
|
||||||
|
{
|
||||||
|
return unabbreviate_ltl(const_cast<formula*>(f));
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -42,6 +42,9 @@ namespace spot
|
||||||
/// This will also rewrite unary operators such as unop::F,
|
/// This will also rewrite unary operators such as unop::F,
|
||||||
/// and unop::G, using only binop::U, and binop::R.
|
/// and unop::G, using only binop::U, and binop::R.
|
||||||
formula* unabbreviate_ltl(formula* f);
|
formula* unabbreviate_ltl(formula* f);
|
||||||
|
/// \brief Clone and rewrite a formula to remove most of the
|
||||||
|
/// abbreviated LTL and logical operators.
|
||||||
|
const formula* unabbreviate_ltl(const formula* f);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue