Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
e73ce85c
Commit
e73ce85c
authored
Jan 23, 2004
by
Alexandre Duret-Lutz
Browse files
* src/tgbaalgos/ltl2tgba_fm.cc: Typos in comments.
parent
4b4b640e
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
e73ce85c
2004-01-23 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/tgbaalgos/ltl2tgba_fm.cc: Typos in comments.
2004-01-13 Alexandre Duret-Lutz <adl@src.lip6.fr>
* configure.ac, NEWS: Bump version to 0.0o.
...
...
src/tgbaalgos/ltl2tgba_fm.cc
View file @
e73ce85c
// Copyright (C) 2003 Laboratoire d'Informatique de Paris 6 (LIP6),
// Copyright (C) 2003
, 2004
Laboratoire d'Informatique de Paris 6 (LIP6),
// dpartement Systmes Rpartis Coopratifs (SRC), Universit Pierre
// et Marie Curie.
//
...
...
@@ -40,8 +40,8 @@ namespace spot
namespace
{
// Helper dictionary. We represent formula using
a
BDD to
simplify
// them, and the
m
translate
the
BDD back into formulae.
// Helper dictionary. We represent formula
e
using BDD
s
to
//
simplify
them, and the
n
translate BDD
s
back into formulae.
//
// The name of the variables are inspired from Couvreur's FM paper.
// "a" variables are promises (written "a" in the paper)
...
...
@@ -323,7 +323,7 @@ namespace spot
{
const
formula
*
child
=
node
->
child
();
int
x
=
dict_
.
register_next_variable
(
node
);
// GFy is pretty frequent and easy to optimize,
t
o we
// GFy is pretty frequent and easy to optimize,
s
o we
// want to detect it.
const
unop
*
Fy
=
dynamic_cast
<
const
unop
*>
(
child
);
if
(
Fy
&&
Fy
->
op
()
==
unop
::
F
)
...
...
@@ -344,11 +344,13 @@ namespace spot
}
case
unop
::
Not
:
{
// r(!y) = !r(y)
res_
=
bdd_not
(
recurse
(
node
->
child
()));
return
;
}
case
unop
::
X
:
{
// r(Xy) = Next[y]
int
x
=
dict_
.
register_next_variable
(
node
->
child
());
res_
=
bdd_ithvar
(
x
);
return
;
...
...
@@ -366,6 +368,7 @@ namespace spot
switch
(
node
->
op
())
{
// r(f1 logical-op f2) = r(f1) logical-op r(f2)
case
binop
::
Xor
:
res_
=
bdd_apply
(
f1
,
f2
,
bddop_xor
);
return
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment