FSA Class Reference
#include <FSA.h>
List of all members.
|
Public Types |
| typedef FSAState | state_type |
| typedef FSAState::edge_type | edge_type |
Public Member Functions |
| | FSA () |
| FSA | operator* (const FSA &F) const |
| bool | operator== (const FSA &F) const |
| void | fold (const set< int > *candidates=NULL, list< FoldDetails > *details=NULL) |
| void | pinch (int state1, int state2) |
| void | unfold (const list< FoldDetails > &details) |
| void | liftup (const list< FoldDetails > &details, list< FSAEdge > &path, int init_state) |
| bool | isDeterministic () const |
| FSA | deterministic () const |
| int | newState () |
| void | eraseState (int state) |
| void | newEdge (int state1, int state2, int label) |
| void | eraseEdge (int state1, int state2, int label) |
| template<class ConstIntIterator> |
| void | addLoop (int vert, ConstIntIterator F, ConstIntIterator L) |
| template<class ConstIntIterator> |
| void | addRay (int vert, ConstIntIterator F, ConstIntIterator L) |
| void | addFSA (int vert1, int vert2, const FSA &fsa) |
| const map< int, FSAState > & | getStates () const |
| map< int, FSAState > & | getStates () |
| void | makeInitial (int s) |
| void | makeTerminal (int s) |
| void | makeNonInitial (int s) |
| void | makeNonTerminal (int s) |
| const set< int > & | getInitStates () const |
| const set< int > & | getTermStates () const |
Private Member Functions |
| | FSA (const FSARep &rep) |
Detailed Description
Definition at line 21 of file FSA.h.
Member Typedef Documentation
Definition at line 25 of file FSA.h.
Definition at line 26 of file FSA.h.
Constructor & Destructor Documentation
Definition at line 36 of file FSA.h.
| FSA::FSA |
( |
const FSARep & |
rep |
) |
[inline, private] |
Definition at line 42 of file FSA.h.
Member Function Documentation
| FSA FSA::operator* |
( |
const FSA & |
F |
) |
const |
| bool FSA::operator== |
( |
const FSA & |
F |
) |
const |
| void FSA::fold |
( |
const set< int > * |
candidates = NULL, |
|
|
list< FoldDetails > * |
details = NULL | |
|
) |
| | [inline] |
| void FSA::pinch |
( |
int |
state1, |
|
|
int |
state2 | |
|
) |
| | [inline] |
| void FSA::unfold |
( |
const list< FoldDetails > & |
details |
) |
[inline] |
| void FSA::liftup |
( |
const list< FoldDetails > & |
details, |
|
|
list< FSAEdge > & |
path, |
|
|
int |
init_state | |
|
) |
| | [inline] |
| bool FSA::isDeterministic |
( |
|
) |
const |
| FSA FSA::deterministic |
( |
|
) |
const |
| int FSA::newState |
( |
|
) |
[inline] |
| void FSA::eraseState |
( |
int |
state |
) |
[inline] |
| void FSA::newEdge |
( |
int |
state1, |
|
|
int |
state2, |
|
|
int |
label | |
|
) |
| | [inline] |
| void FSA::eraseEdge |
( |
int |
state1, |
|
|
int |
state2, |
|
|
int |
label | |
|
) |
| | [inline] |
template<class ConstIntIterator>
| void FSA::addLoop |
( |
int |
vert, |
|
|
ConstIntIterator |
F, |
|
|
ConstIntIterator |
L | |
|
) |
| | [inline] |
template<class ConstIntIterator>
| void FSA::addRay |
( |
int |
vert, |
|
|
ConstIntIterator |
F, |
|
|
ConstIntIterator |
L | |
|
) |
| | [inline] |
| void FSA::addFSA |
( |
int |
vert1, |
|
|
int |
vert2, |
|
|
const FSA & |
fsa | |
|
) |
| | [inline] |
| const map< int , FSAState >& FSA::getStates |
( |
|
) |
const [inline] |
| map< int , FSAState >& FSA::getStates |
( |
|
) |
[inline] |
| void FSA::makeInitial |
( |
int |
s |
) |
[inline] |
| void FSA::makeTerminal |
( |
int |
s |
) |
[inline] |
| void FSA::makeNonInitial |
( |
int |
s |
) |
[inline] |
| void FSA::makeNonTerminal |
( |
int |
s |
) |
[inline] |
| const set< int >& FSA::getInitStates |
( |
|
) |
const [inline] |
| const set< int >& FSA::getTermStates |
( |
|
) |
const [inline] |
The documentation for this class was generated from the following file: