Commit 0ae1a32a authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

* 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.
parent a889dd7d
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>
Switch from "promises" to "accepting set". Fix the definitions
......
......@@ -73,5 +73,10 @@ namespace spot
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,
/// 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);
}
}
......
......@@ -174,5 +174,11 @@ namespace spot
f->accept(v);
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
/// formula which is not in negative normal form.)
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();
}
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,
/// and unop::G, using only binop::U, and binop::R.
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);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment