FST  openfst-1.7.1
OpenFst Library
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
fst::ArcTpl< W > Struct Template Reference

#include <arc.h>

Public Types

using Weight = W
 
using Label = int
 
using StateId = int
 

Public Member Functions

 ArcTpl () noexcept(std::is_nothrow_default_constructible< Weight >::value)
 
template<class T >
 ArcTpl (Label ilabel, Label olabel, T &&weight, StateId nextstate)
 

Static Public Member Functions

static const string & Type ()
 

Public Attributes

Label ilabel
 
Label olabel
 
Weight weight
 
StateId nextstate
 

Detailed Description

template<class W>
struct fst::ArcTpl< W >

Definition at line 28 of file arc.h.

Member Typedef Documentation

template<class W >
using fst::ArcTpl< W >::Label = int

Definition at line 31 of file arc.h.

template<class W >
using fst::ArcTpl< W >::StateId = int

Definition at line 32 of file arc.h.

template<class W >
using fst::ArcTpl< W >::Weight = W

Definition at line 30 of file arc.h.

Constructor & Destructor Documentation

template<class W >
fst::ArcTpl< W >::ArcTpl ( )
inlinenoexcept

Definition at line 39 of file arc.h.

template<class W >
template<class T >
fst::ArcTpl< W >::ArcTpl ( Label  ilabel,
Label  olabel,
T &&  weight,
StateId  nextstate 
)
inline

Definition at line 42 of file arc.h.

Member Function Documentation

template<class W >
static const string& fst::ArcTpl< W >::Type ( )
inlinestatic

Definition at line 48 of file arc.h.

Member Data Documentation

template<class W >
Label fst::ArcTpl< W >::ilabel

Definition at line 34 of file arc.h.

template<class W >
StateId fst::ArcTpl< W >::nextstate

Definition at line 37 of file arc.h.

template<class W >
Label fst::ArcTpl< W >::olabel

Definition at line 35 of file arc.h.

template<class W >
Weight fst::ArcTpl< W >::weight

Definition at line 36 of file arc.h.


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