Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
DFA Struct Reference

#include <DFA.h>

Public Member Functions

 DFA (std::vector< int > charMappings, std::vector< std::vector< int > > transitions, std::vector< int > accepts)
 

Public Attributes

std::vector< intfCharMappings
 
std::vector< std::vector< int > > fTransitions
 
std::vector< intfAccepts
 

Detailed Description

Tables representing a deterministic finite automaton for matching regular expressions.

Definition at line 17 of file DFA.h.

Constructor & Destructor Documentation

◆ DFA()

DFA::DFA ( std::vector< int charMappings,
std::vector< std::vector< int > >  transitions,
std::vector< int accepts 
)
inline

Definition at line 18 of file DFA.h.

20 : fCharMappings(charMappings)
21 , fTransitions(transitions)
22 , fAccepts(accepts) {}
std::vector< int > fCharMappings
Definition: DFA.h:27
std::vector< int > fAccepts
Definition: DFA.h:34
std::vector< std::vector< int > > fTransitions
Definition: DFA.h:30

Member Data Documentation

◆ fAccepts

std::vector<int> DFA::fAccepts

Definition at line 34 of file DFA.h.

◆ fCharMappings

std::vector<int> DFA::fCharMappings

Definition at line 27 of file DFA.h.

◆ fTransitions

std::vector<std::vector<int> > DFA::fTransitions

Definition at line 30 of file DFA.h.


The documentation for this struct was generated from the following file: