FST  openfst-1.8.1
OpenFst Library
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
fst::ProductArc< Weight1, Weight2 > Struct Template Reference

#include <arc.h>

Collaboration diagram for fst::ProductArc< Weight1, Weight2 >:
Collaboration graph
[legend]

Public Types

using Label = int
 
using StateId = int
 
using Weight = ProductWeight< Weight1, Weight2 >
 

Public Member Functions

 ProductArc ()=default
 
template<class T >
 ProductArc (Label ilabel, Label olabel, T &&weight, StateId nextstate)
 
 ProductArc (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<class Weight1, class Weight2>
struct fst::ProductArc< Weight1, Weight2 >

Definition at line 231 of file arc.h.

Member Typedef Documentation

template<class Weight1 , class Weight2 >
using fst::ProductArc< Weight1, Weight2 >::Label = int

Definition at line 232 of file arc.h.

template<class Weight1 , class Weight2 >
using fst::ProductArc< Weight1, Weight2 >::StateId = int

Definition at line 233 of file arc.h.

template<class Weight1 , class Weight2 >
using fst::ProductArc< Weight1, Weight2 >::Weight = ProductWeight<Weight1, Weight2>

Definition at line 234 of file arc.h.

Constructor & Destructor Documentation

template<class Weight1 , class Weight2 >
fst::ProductArc< Weight1, Weight2 >::ProductArc ( )
default
template<class Weight1 , class Weight2 >
template<class T >
fst::ProductArc< Weight1, Weight2 >::ProductArc ( Label  ilabel,
Label  olabel,
T &&  weight,
StateId  nextstate 
)
inline

Definition at line 244 of file arc.h.

template<class Weight1 , class Weight2 >
fst::ProductArc< Weight1, Weight2 >::ProductArc ( Label  ilabel,
Label  olabel,
StateId  nextstate 
)
inline

Definition at line 251 of file arc.h.

Member Function Documentation

template<class Weight1 , class Weight2 >
static const std::string& fst::ProductArc< Weight1, Weight2 >::Type ( )
inlinestatic

Definition at line 254 of file arc.h.

Member Data Documentation

template<class Weight1 , class Weight2 >
Label fst::ProductArc< Weight1, Weight2 >::ilabel

Definition at line 236 of file arc.h.

template<class Weight1 , class Weight2 >
StateId fst::ProductArc< Weight1, Weight2 >::nextstate

Definition at line 239 of file arc.h.

template<class Weight1 , class Weight2 >
Label fst::ProductArc< Weight1, Weight2 >::olabel

Definition at line 237 of file arc.h.

template<class Weight1 , class Weight2 >
Weight fst::ProductArc< Weight1, Weight2 >::weight

Definition at line 238 of file arc.h.


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