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
d4b9ebaa
Commit
d4b9ebaa
authored
Dec 09, 2004
by
Alexandre Duret-Lutz
Browse files
* src/tgba/tgbaexplicit.cc (tgba_explicit::create_transition):
Make sure to create the source state before the destination state.
parent
d645e0ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
d4b9ebaa
2004-12-09 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/tgba/tgbaexplicit.cc (tgba_explicit::create_transition):
Make sure to create the source state before the destination state.
2004-12-08 Denis Poitrenaud <Denis.Poitrenaud@lip6.fr>
* src/tgbaalgos/emptiness.cc: Suppress a horrible space before a ')'.
...
...
@@ -7,9 +12,9 @@
* src/tgba/tgbaexplicit.hh, src/tgba/tgbaexplicit.cc
(set_init_state): Return a pointer to the initial state.
* src/tgbaalgos/emptiness.hh, src/tgbaalgos/emptiness.cc
* src/tgbaalgos/emptiness.hh, src/tgbaalgos/emptiness.cc
(tgba_run_to_tgba): New function.
* src/tgbatest/ltl2tgba.cc: Add option -G.
* src/tgbatest/ltl2tgba.cc: Add option -G.
2004-12-08 Alexandre Duret-Lutz <adl@src.lip6.fr>
...
...
src/tgba/tgbaexplicit.cc
View file @
d4b9ebaa
...
...
@@ -175,7 +175,11 @@ namespace spot
tgba_explicit
::
create_transition
(
const
std
::
string
&
source
,
const
std
::
string
&
dest
)
{
return
create_transition
(
add_state
(
source
),
add_state
(
dest
));
// It's important that the source be created before the
// destination, so the first encountered source becomes the
// default initial state.
state
*
s
=
add_state
(
source
);
return
create_transition
(
s
,
add_state
(
dest
));
}
void
...
...
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