next up previous contents
Next: NFA Up: Declaring a Container Previous: DFA   Contents

Compact DFA

A compact automaton is a container adapter parameterized by the adapted automaton type. It is constructed by copy :
#include <astl.h>
#include <dfa_mtf.h>
#include <dfa_compact.h>

int main()
  DFA_mtf<> A;
  DFA_compact<DFA_mtf<> > C(A);
The constructor of C builds a copy of A in a compact representation.

Vincent Le Maout 2003-07-08