* src/ltlvisit/contain.cc (reduce_tau03_visitor): Simplify the
rules for "a U b" and "a R b", an implication check is enough.
This commit is contained in:
parent
21e2439d06
commit
b1c820af4d
2 changed files with 10 additions and 5 deletions
|
|
@ -1,3 +1,8 @@
|
||||||
|
2007-04-19 Alexandre Duret-Lutz <adl@gnu.org>
|
||||||
|
|
||||||
|
* src/ltlvisit/contain.cc (reduce_tau03_visitor): Simplify the
|
||||||
|
rules for "a U b" and "a R b", an implication check is enough.
|
||||||
|
|
||||||
2007-04-17 Alexandre Duret-Lutz <adl@gnu.org>
|
2007-04-17 Alexandre Duret-Lutz <adl@gnu.org>
|
||||||
|
|
||||||
* src/misc/bddalloc.cc (bdd_allocator::initialize): Call
|
* src/misc/bddalloc.cc (bdd_allocator::initialize): Call
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2006 Laboratoire d'Informatique de Paris 6 (LIP6),
|
// Copyright (C) 2006, 2007 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||||
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||||
// et Marie Curie.
|
// et Marie Curie.
|
||||||
//
|
//
|
||||||
|
|
@ -181,8 +181,8 @@ namespace spot
|
||||||
switch (bo->op())
|
switch (bo->op())
|
||||||
{
|
{
|
||||||
case binop::U:
|
case binop::U:
|
||||||
// if (a U b) = b, then keep b !
|
// if (a U b) => b, then keep b !
|
||||||
if (stronger && lcc->equal(bo, b))
|
if (stronger && lcc->contained(bo, b))
|
||||||
{
|
{
|
||||||
destroy(a);
|
destroy(a);
|
||||||
result_ = b;
|
result_ = b;
|
||||||
|
|
@ -205,8 +205,8 @@ namespace spot
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case binop::R:
|
case binop::R:
|
||||||
// if (a R b) = b, then keep b !
|
// if (a R b) => b, then keep b !
|
||||||
if (stronger && lcc->equal(bo, b))
|
if (stronger && lcc->contained(b, bo))
|
||||||
{
|
{
|
||||||
destroy(a);
|
destroy(a);
|
||||||
result_ = b;
|
result_ = b;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue