* iface/gspn/ssp.cc: Typos.

This commit is contained in:
Alexandre Duret-Lutz 2004-07-16 11:52:19 +00:00
parent 44ebe5a746
commit bec7402a67
2 changed files with 12 additions and 13 deletions

View file

@ -1,5 +1,7 @@
2004-07-16 Alexandre Duret-Lutz <adl@src.lip6.fr> 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): * 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 Set size_ to 1 when stuttering is needed, so that done() does not
return true immediately. return true immediately.

View file

@ -175,17 +175,17 @@ namespace spot
{ {
public: public:
tgba_succ_iterator_gspn_ssp(Succ_* succ_tgba, tgba_succ_iterator_gspn_ssp(Succ_* succ_tgba,
size_t size_tgba, size_t size_tgba,
bdd* bdd_arry, bdd* bdd_array,
state** state_arry, state** state_array,
size_t size_states, size_t size_states,
Props_* prop, Props_* prop,
int size_prop) int size_prop)
: successors_(succ_tgba), : successors_(succ_tgba),
size_succ_(size_tgba), size_succ_(size_tgba),
current_succ_(0), current_succ_(0),
bdd_array_(bdd_arry), bdd_array_(bdd_array),
state_array_(state_arry), state_array_(state_array),
size_states_(size_states), size_states_(size_states),
props_(prop), props_(prop),
size_prop_(size_prop) size_prop_(size_prop)
@ -253,10 +253,7 @@ namespace spot
current_acceptance_conditions() const current_acceptance_conditions() const
{ {
// There is no acceptance conditions in GSPN systems, so we just // There is no acceptance conditions in GSPN systems, so we just
// return those from OPERAND_. // return those from operand_.
// return operand_->current_acceptance_conditions();
// bdd * ac=(bdd *)successors_[current_succ_].arc->curr_acc_conds;
//return (*ac);
return bdd_array_[successors_[current_succ_].arc->curr_acc_conds]; return bdd_array_[successors_[current_succ_].arc->curr_acc_conds];
} }
private: private:
@ -265,7 +262,7 @@ namespace spot
// ALL_CONDS. // ALL_CONDS.
Succ_* successors_; /// array of successors Succ_* successors_; /// array of successors
size_t size_succ_; /// size 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_; bdd * bdd_array_;
state** state_array_; state** state_array_;