next up previous contents
Next: Determinizing Up: Getting Started Previous: Lazy-construction Processing   Contents

Virtual-traversal Processing

#include <astl.h>
#include <dfa.h>
#include <stream.h>
#include <iostream>

int main()
{
  DFA_matrix<> A;
  // Construction...
  DFA_stream out(std::cout);
  clone(out, dfirstc(A));
}

#include <astl.h>
#include <dfa.h>
#include <ccopy.h>
#include <language.h>
#include <iostream>

int main()
{
  clone_cursor<plain> c(std::cin);
  language(std::cout, c);
}


Vincent Le Maout 2003-07-08