* src/tgba/tgbaexplicit.cc, src/tgba/tgbaexplicit.hh

(tgba_explicit::create_transition(state*, const state*)): New function.
* src/tgbaalgos/randomgraph.cc, src/tgbaalgos/randomgraph.hh:
(random_graph): Revamp the algorithm to call rand() less often.
* src/tgbatest/randtgba.cc: Add option -0 to easy profiling.
This commit is contained in:
Alexandre Duret-Lutz 2004-12-08 15:39:15 +00:00
parent 7917841fbe
commit 688587d700
6 changed files with 129 additions and 56 deletions

View file

@ -48,13 +48,15 @@ namespace spot
{
bdd condition;
bdd acceptance_conditions;
state* dest;
const state* dest;
};
void set_init_state(const std::string& state);
transition*
create_transition(const std::string& source, const std::string& dest);
transition*
create_transition(state* source, const state* dest);
void add_condition(transition* t, const ltl::formula* f);
/// This assumes that all variables in \a f are known from dict.