FST  openfst-1.8.3
OpenFst Library
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
fst::internal::EquivalenceUtil< Arc > Struct Template Reference

#include <equivalent.h>

Public Types

using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
using MappedId = StateId
 

Static Public Member Functions

static MappedId MapState (StateId s, int32_t which_fst)
 
static StateId UnMapState (MappedId id)
 
static bool IsFinal (const Fst< Arc > &fa, MappedId s)
 
static MappedId FindSet (UnionFind< MappedId > *sets, MappedId id)
 

Static Public Attributes

static constexpr MappedId kDeadState = 0
 
static constexpr MappedId kInvalidId = -1
 

Detailed Description

template<class Arc>
struct fst::internal::EquivalenceUtil< Arc >

Definition at line 58 of file equivalent.h.

Member Typedef Documentation

template<class Arc >
using fst::internal::EquivalenceUtil< Arc >::MappedId = StateId

Definition at line 62 of file equivalent.h.

template<class Arc >
using fst::internal::EquivalenceUtil< Arc >::StateId = typename Arc::StateId

Definition at line 59 of file equivalent.h.

template<class Arc >
using fst::internal::EquivalenceUtil< Arc >::Weight = typename Arc::Weight

Definition at line 60 of file equivalent.h.

Member Function Documentation

template<class Arc >
static MappedId fst::internal::EquivalenceUtil< Arc >::FindSet ( UnionFind< MappedId > *  sets,
MappedId  id 
)
inlinestatic

Definition at line 91 of file equivalent.h.

template<class Arc >
static bool fst::internal::EquivalenceUtil< Arc >::IsFinal ( const Fst< Arc > &  fa,
MappedId  s 
)
inlinestatic

Definition at line 85 of file equivalent.h.

template<class Arc >
static MappedId fst::internal::EquivalenceUtil< Arc >::MapState ( StateId  s,
int32_t  which_fst 
)
inlinestatic

Definition at line 73 of file equivalent.h.

template<class Arc >
static StateId fst::internal::EquivalenceUtil< Arc >::UnMapState ( MappedId  id)
inlinestatic

Definition at line 79 of file equivalent.h.

Member Data Documentation

template<class Arc >
constexpr MappedId fst::internal::EquivalenceUtil< Arc >::kDeadState = 0
static

Definition at line 65 of file equivalent.h.

template<class Arc >
constexpr MappedId fst::internal::EquivalenceUtil< Arc >::kInvalidId = -1
static

Definition at line 68 of file equivalent.h.


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