reglibcpp  1.7.0
(Naïve) C++ implementation of models for regular languages
Classes | Namespaces | Functions
dfa.h File Reference

Contains the reg::dfa class definition. More...

#include <memory>
#include <vector>
#include <string>

Go to the source code of this file.

Classes

class  reg::dfa
 Represents deterministic finite automata. More...
 
class  reg::dfa::builder
 Constructs DFAs step by step. More...
 

Namespaces

 reg
 Where this library lives.
 

Functions

u32string reg::findShortestWord (dfa const &d)
 Searches the shortest UTF-32-encoded word accepted by a given DFA. More...
 
string reg::findShortestUtf8Word (dfa const &d)
 Same as above for a UTF-8-encoded word. More...
 

Detailed Description

Contains the reg::dfa class definition.

Definition in file dfa.h.