GrammarFstArc Struct Reference

#include <grammar-fst.h>

Collaboration diagram for GrammarFstArc:

Public Types

typedef fst::TropicalWeight Weight
 
typedef int Label
 
typedef int64 StateId
 

Public Member Functions

 GrammarFstArc ()
 
 GrammarFstArc (Label ilabel, Label olabel, Weight weight, StateId nextstate)
 

Public Attributes

Label ilabel
 
Label olabel
 
Weight weight
 
StateId nextstate
 

Detailed Description

Definition at line 48 of file grammar-fst.h.

Member Typedef Documentation

◆ Label

typedef int Label

Definition at line 50 of file grammar-fst.h.

◆ StateId

typedef int64 StateId

Definition at line 51 of file grammar-fst.h.

◆ Weight

typedef fst::TropicalWeight Weight

Definition at line 49 of file grammar-fst.h.

Constructor & Destructor Documentation

◆ GrammarFstArc() [1/2]

GrammarFstArc ( )
inline

Definition at line 58 of file grammar-fst.h.

58 {}

◆ GrammarFstArc() [2/2]

GrammarFstArc ( Label  ilabel,
Label  olabel,
Weight  weight,
StateId  nextstate 
)
inline

Definition at line 60 of file grammar-fst.h.

61  : ilabel(ilabel),
62  olabel(olabel),
63  weight(std::move(weight)),

Member Data Documentation

◆ ilabel

Label ilabel

Definition at line 53 of file grammar-fst.h.

Referenced by fst::CopyToVectorFst().

◆ nextstate

StateId nextstate

Definition at line 56 of file grammar-fst.h.

Referenced by fst::CopyToVectorFst().

◆ olabel

Label olabel

Definition at line 54 of file grammar-fst.h.

Referenced by fst::CopyToVectorFst().

◆ weight

Weight weight

Definition at line 55 of file grammar-fst.h.

Referenced by fst::CopyToVectorFst().


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