* src/tgba/tgbaexplicit.hh, src/tgba/tgbaexplicit.cc
(set_init_state): Return a pointer to the initial state. (tgba_run_to_tgba): New function.
This commit is contained in:
parent
8279667300
commit
446b85a842
6 changed files with 161 additions and 11 deletions
|
|
@ -152,11 +152,12 @@ namespace spot
|
|||
return i->second;
|
||||
}
|
||||
|
||||
void
|
||||
tgba_explicit::state*
|
||||
tgba_explicit::set_init_state(const std::string& state)
|
||||
{
|
||||
tgba_explicit::state* s = add_state(state);
|
||||
init_ = s;
|
||||
return s;
|
||||
}
|
||||
|
||||
tgba_explicit::transition*
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ namespace spot
|
|||
const state* dest;
|
||||
};
|
||||
|
||||
void set_init_state(const std::string& state);
|
||||
state* set_init_state(const std::string& state);
|
||||
|
||||
transition*
|
||||
create_transition(const std::string& source, const std::string& dest);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue