Skip to content
GitLab
Menu
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
bec7402a
Commit
bec7402a
authored
Jul 16, 2004
by
Alexandre Duret-Lutz
Browse files
* iface/gspn/ssp.cc: Typos.
parent
44ebe5a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
bec7402a
2004-07-16 Alexandre Duret-Lutz <adl@src.lip6.fr>
* iface/gspn/ssp.cc: Typos.
* iface/gspn/gspn.cc (tgba_succ_iterator_gspn::tgba_succ_iterator_gspn):
Set size_ to 1 when stuttering is needed, so that done() does not
return true immediately.
...
...
iface/gspn/ssp.cc
View file @
bec7402a
...
...
@@ -175,17 +175,17 @@ namespace spot
{
public:
tgba_succ_iterator_gspn_ssp
(
Succ_
*
succ_tgba
,
size_t
size_tgba
,
bdd
*
bdd_arry
,
state
**
state_arry
,
size_t
size_states
,
Props_
*
prop
,
int
size_prop
)
size_t
size_tgba
,
bdd
*
bdd_arr
a
y
,
state
**
state_arr
a
y
,
size_t
size_states
,
Props_
*
prop
,
int
size_prop
)
:
successors_
(
succ_tgba
),
size_succ_
(
size_tgba
),
current_succ_
(
0
),
bdd_array_
(
bdd_arry
),
state_array_
(
state_arry
),
bdd_array_
(
bdd_arr
a
y
),
state_array_
(
state_arr
a
y
),
size_states_
(
size_states
),
props_
(
prop
),
size_prop_
(
size_prop
)
...
...
@@ -253,10 +253,7 @@ namespace spot
current_acceptance_conditions
()
const
{
// There is no acceptance conditions in GSPN systems, so we just
// return those from OPERAND_.
// return operand_->current_acceptance_conditions();
// bdd * ac=(bdd *)successors_[current_succ_].arc->curr_acc_conds;
//return (*ac);
// return those from operand_.
return
bdd_array_
[
successors_
[
current_succ_
].
arc
->
curr_acc_conds
];
}
private:
...
...
@@ -265,7 +262,7 @@ namespace spot
// ALL_CONDS.
Succ_
*
successors_
;
/// array of successors
size_t
size_succ_
;
/// size of successors_
size_t
current_succ_
;
/// current position in successors_
size_t
current_succ_
;
/// current position in successors_
bdd
*
bdd_array_
;
state
**
state_array_
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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