Commit 71fbd82b authored by Florent D'Halluin's avatar Florent D'Halluin
Browse files

Benchmarks: rename aut_ab into aut_b.

* src/bench/common/bench_constructs.hh,
* src/bench/quotient/quotient_bool_bench.hh,
* src/bench/quotient/quotient_z_bench.hh: Do that.
parent f8ccc316
2009-06-19 d-halluin <d-halluin@lrde.epita.fr>
Benchmarks: rename aut_ab into aut_b.
* src/bench/common/bench_constructs.hh,
* src/bench/quotient/quotient_bool_bench.hh,
* src/bench/quotient/quotient_z_bench.hh: Do that.
2009-06-19 d-halluin <d-halluin@lrde.epita.fr>
 
Update accessible benchmark.
......
......@@ -108,16 +108,15 @@ automaton_t aut_linear_eps(unsigned n)
return a;
}
/// Create a autab automaton (for quotient).
/// See README_AUTOMATA for autab.
automaton_t aut_ab()
/// Create a aut_b automaton (for quotient).
/// See README_AUTOMATA for aut_b.
automaton_t aut_b()
{
AUTOMATON_TYPES_EXACT(automaton_t);
alphabet_t alpha;
alpha.insert('a');
alpha.insert('b');
alpha.insert('c');
automaton_t a = make_automaton(alpha);
......
......@@ -29,7 +29,7 @@ using namespace vcsn::boolean_automaton;
void quotient_bool_bench(int n)
{
automaton_t a = aut_ab();
automaton_t a = aut_b();
automaton_t an = a;
std::stringstream n_str;
......@@ -48,7 +48,7 @@ void quotient_bool_bench(int n)
// Set extra parameters/results
BENCH_PARAMETER("_n_", n_str.str());
BENCH_PARAMETER("over", "B");
BENCH_PARAMETER("input automaton", "aut_ab");
BENCH_PARAMETER("input automaton", "aut_b");
BENCH_PARAMETER("product states", (long) a.states ().size ());
BENCH_PARAMETER("product transitions", (long) a.transitions ().size ());
......
......@@ -29,7 +29,7 @@ using namespace vcsn::z_automaton;
void quotient_z_bench(int n)
{
automaton_t a = aut_ab();
automaton_t a = aut_b();
automaton_t an = a;
std::stringstream n_str;
......@@ -48,7 +48,7 @@ void quotient_z_bench(int n)
// Set extra parameters/results
BENCH_PARAMETER("_n_", n_str.str());
BENCH_PARAMETER("over", "Z");
BENCH_PARAMETER("input automaton", "aut_ab");
BENCH_PARAMETER("input automaton", "aut_b");
BENCH_PARAMETER("product states", (long) a.states().size());
BENCH_PARAMETER("product transitions", (long) a.transitions().size());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment