FST  openfst-1.7.3
OpenFst Library
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
fst::StringArc< S > Struct Template Reference

#include <arc.h>

Collaboration diagram for fst::StringArc< S >:
Collaboration graph
[legend]

Public Types

using Label = int
 
using Weight = StringWeight< int, S >
 
using StateId = int
 

Public Member Functions

 StringArc ()=default
 
template<class T >
 StringArc (Label ilabel, Label olabel, T &&weight, StateId nextstate)
 
 StringArc (Label ilabel, Label olabel, StateId nextstate)
 

Static Public Member Functions

static const std::string & Type ()
 

Public Attributes

Label ilabel
 
Label olabel
 
Weight weight
 
StateId nextstate
 

Detailed Description

template<StringType S = STRING_LEFT>
struct fst::StringArc< S >

Definition at line 68 of file arc.h.

Member Typedef Documentation

template<StringType S = STRING_LEFT>
using fst::StringArc< S >::Label = int

Definition at line 70 of file arc.h.

template<StringType S = STRING_LEFT>
using fst::StringArc< S >::StateId = int

Definition at line 72 of file arc.h.

template<StringType S = STRING_LEFT>
using fst::StringArc< S >::Weight = StringWeight<int, S>

Definition at line 71 of file arc.h.

Constructor & Destructor Documentation

template<StringType S = STRING_LEFT>
fst::StringArc< S >::StringArc ( )
default
template<StringType S = STRING_LEFT>
template<class T >
fst::StringArc< S >::StringArc ( Label  ilabel,
Label  olabel,
T &&  weight,
StateId  nextstate 
)
inline

Definition at line 82 of file arc.h.

template<StringType S = STRING_LEFT>
fst::StringArc< S >::StringArc ( Label  ilabel,
Label  olabel,
StateId  nextstate 
)
inline

Definition at line 89 of file arc.h.

Member Function Documentation

template<StringType S = STRING_LEFT>
static const std::string& fst::StringArc< S >::Type ( )
inlinestatic

Definition at line 92 of file arc.h.

Member Data Documentation

template<StringType S = STRING_LEFT>
Label fst::StringArc< S >::ilabel

Definition at line 74 of file arc.h.

template<StringType S = STRING_LEFT>
StateId fst::StringArc< S >::nextstate

Definition at line 77 of file arc.h.

template<StringType S = STRING_LEFT>
Label fst::StringArc< S >::olabel

Definition at line 75 of file arc.h.

template<StringType S = STRING_LEFT>
Weight fst::StringArc< S >::weight

Definition at line 76 of file arc.h.


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