FST  openfst-1.7.1
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 W >
 StringArc (Label ilabel, Label olabel, W &&weight, StateId nextstate)
 

Static Public Member Functions

static const 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 64 of file arc.h.

Member Typedef Documentation

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

Definition at line 66 of file arc.h.

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

Definition at line 68 of file arc.h.

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

Definition at line 67 of file arc.h.

Constructor & Destructor Documentation

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

Definition at line 78 of file arc.h.

Member Function Documentation

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

Definition at line 84 of file arc.h.

Member Data Documentation

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

Definition at line 70 of file arc.h.

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

Definition at line 73 of file arc.h.

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

Definition at line 71 of file arc.h.

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

Definition at line 72 of file arc.h.


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