dtgbacomp: Rewrite using tgba_digraph instead of tgba_explicit_number

* src/tgbaalgos/dtgbacomp.cc, src/tgbaalgos/dtgbacomp.hh: Rewrite.
Also prefer simple loops over reachiter.
* src/tgbatest/det.test: Adjust.
This commit is contained in:
Alexandre Duret-Lutz 2014-08-10 17:59:34 +02:00
parent 0909c2fe3d
commit ead04cb1ac
3 changed files with 99 additions and 140 deletions

View file

@ -20,7 +20,7 @@
#ifndef SPOT_TGBAALGOS_DTGBACOMP_HH
# define SPOT_TGBAALGOS_DTGBACOMP_HH
#include "tgba/tgbaexplicit.hh"
#include "tgba/tgbagraph.hh"
namespace spot
{
@ -30,7 +30,7 @@ namespace spot
/// to be complete. Acceptance can be transition-based, or
/// state-based. The resulting automaton is very unlikely to be
/// deterministic.
SPOT_API tgba_explicit_number*
SPOT_API tgba_digraph*
dtgba_complement(const tgba* aut);
}