* src/ltlvisit/lunabbrev.cc, src/ltlvisit/lunabbrev.hh: Merge the
two unabbreviate_logic definitions (const and non-const) into a function that takes a const formula* and return a non-const formula*. Since formula* is convertible to const formula*, and the const version of the function just called the non-onst one, it makes no sense to keep both. Also, it confused Swig. * src/ltlvisit/nenoform.cc, src/ltlvisit/nenoform.hh: Likewise for negative_normal_form. * src/ltlvisit/tunabbrev.cc, src/ltlvisit/tunabbrev.hh: Likewise for unabbreviate_ltl. * src/ltlvisit/clone.cc, src/ltlvisit/clone.hh: Likewise for clone. * src/ltlvisit/destroy.cc, src/ltlvisit/destroy.hh: Likewise for destroy.
This commit is contained in:
parent
d33ad6d6bf
commit
f1f81fbfef
11 changed files with 32 additions and 59 deletions
|
|
@ -31,16 +31,13 @@ namespace spot
|
|||
virtual formula* recurse(formula* f);
|
||||
};
|
||||
|
||||
/// \brief Clone rewrite a formula to remove most of the abbreviated
|
||||
/// \brief Clone and rewrite a formula to remove most of the abbreviated
|
||||
/// logical operators.
|
||||
///
|
||||
/// This will rewrite binary operators such as binop::Implies,
|
||||
/// binop::Equals, and binop::Xor, using only unop::Not, multop::Or,
|
||||
/// and multop::And.
|
||||
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);
|
||||
formula* unabbreviate_logic(const formula* f);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue