Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Public Member Functions | Public Attributes
desaxe::CreateDFAState Struct Reference
Collaboration diagram for desaxe::CreateDFAState:
Collaboration graph

List of all members.

Public Member Functions

 CreateDFAState (const std::vector< rule_t > &rules, const std::vector< nfa_state_t > &accepting)
dfa_state_t operator() (const std::set< nfa_state_t > &combination)

Public Attributes

unsigned int n
const std::vector< rule_t > & rules_
const std::vector< nfa_state_t > & accepting_

Detailed Description

Definition at line 440 of file digester.cpp.

Constructor & Destructor Documentation

desaxe::CreateDFAState::CreateDFAState ( const std::vector< rule_t > &  rules,
const std::vector< nfa_state_t > &  accepting 
) [inline]

Definition at line 442 of file digester.cpp.

       : n(0), rules_(rules), accepting_(accepting) 

Member Function Documentation

dfa_state_t desaxe::CreateDFAState::operator() ( const std::set< nfa_state_t > &  combination) [inline]

Definition at line 446 of file digester.cpp.

              dfa_state_t result = new DFA_State();
              result->ID = n++;
              for (unsigned int i=0; i < rules_.size(); ++i)
                     if (combination.find(accepting_[i]) != combination.end())
              return result;

Member Data Documentation

Definition at line 459 of file digester.cpp.

Definition at line 457 of file digester.cpp.

Definition at line 458 of file digester.cpp.

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