FST  openfst-1.7.0
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 W >
 ProductArc (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<class Weight1, class Weight2>
struct fst::ProductArc< Weight1, Weight2 >

Definition at line 195 of file arc.h.

Member Typedef Documentation

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

Definition at line 196 of file arc.h.

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

Definition at line 197 of file arc.h.

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

Definition at line 198 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 W >
fst::ProductArc< Weight1, Weight2 >::ProductArc ( Label  ilabel,
Label  olabel,
W &&  weight,
StateId  nextstate 
)
inline

Definition at line 208 of file arc.h.

Member Function Documentation

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

Definition at line 214 of file arc.h.

Member Data Documentation

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

Definition at line 200 of file arc.h.

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

Definition at line 203 of file arc.h.

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

Definition at line 201 of file arc.h.

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

Definition at line 202 of file arc.h.


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