FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::DifferenceFst< A > Class Template Reference

#include <difference.h>

Inheritance diagram for fst::DifferenceFst< A >:
Inheritance graph
[legend]
Collaboration diagram for fst::DifferenceFst< A >:
Collaboration graph
[legend]

Public Types

using Arc = A
 
using Weight = typename Arc::Weight
 
using StateId = typename Arc::StateId
 
- Public Types inherited from fst::ComposeFst< A >
using Arc = A
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
using Store = CacheStore
 
using State = typename CacheStore::State
 
using Impl = internal::ComposeFstImplBase< A, CacheStore >
 
- Public Types inherited from fst::ImplToFst< internal::ComposeFstImplBase< A, CacheStore > >
using Arc = typename internal::ComposeFstImplBase< A, CacheStore >::Arc
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
- Public Types inherited from fst::Fst< typename internal::ComposeFstImplBase< A, CacheStore >::Arc >
using Arc = typename internal::ComposeFstImplBase< A, CacheStore >::Arc
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 DifferenceFst (const Fst< Arc > &fst1, const Fst< Arc > &fst2, const CacheOptions &opts=CacheOptions())
 
template<class Matcher , class Filter , class StateTable >
 DifferenceFst (const Fst< Arc > &fst1, const Fst< Arc > &fst2, const DifferenceFstOptions< Arc, Matcher, Filter, StateTable > &opts)
 
 DifferenceFst (const DifferenceFst &fst, bool safe=false)
 
DifferenceFstCopy (bool safe=false) const override
 
- Public Member Functions inherited from fst::ComposeFst< A >
 ComposeFst (const Fst< Arc > &fst1, const Fst< Arc > &fst2, const CacheOptions &opts=CacheOptions())
 
 ComposeFst (const Fst< Arc > &fst1, const Fst< Arc > &fst2, const ComposeFstOptions< Arc, Matcher, Filter, StateTuple > &opts)
 
 ComposeFst (const typename Matcher1::FST &fst1, const typename Matcher2::FST &fst2, const ComposeFstImplOptions< Matcher1, Matcher2, Filter, StateTuple, CacheStore > &opts)
 
 ComposeFst (const ComposeFst &fst, bool safe=false)
 
ComposeFstCopy (bool safe=false) const override
 
void InitStateIterator (StateIteratorData< Arc > *data) const override
 
void InitArcIterator (StateId s, ArcIteratorData< Arc > *data) const override
 
MatcherBase< Arc > * InitMatcher (MatchType match_type) const override
 
- Public Member Functions inherited from fst::ImplToFst< internal::ComposeFstImplBase< A, CacheStore > >
StateId Start () const override
 
Weight Final (StateId s) const override
 
size_t NumArcs (StateId s) const override
 
size_t NumInputEpsilons (StateId s) const override
 
size_t NumOutputEpsilons (StateId s) const override
 
uint64_t Properties (uint64_t mask, bool test) const override
 
const std::string & Type () const override
 
const SymbolTableInputSymbols () const override
 
const SymbolTableOutputSymbols () const override
 
- Public Member Functions inherited from fst::Fst< typename internal::ComposeFstImplBase< A, CacheStore >::Arc >
virtual ~Fst ()=default
 
virtual std::optional< StateIdNumStatesIfKnown () const
 
virtual bool Write (std::ostream &strm, const FstWriteOptions &opts) const
 
virtual bool Write (const std::string &source) const
 
virtual void InitStateIterator (StateIteratorData< Arc > *data) const =0
 
virtual void InitArcIterator (StateId s, ArcIteratorData< Arc > *data) const =0
 

Additional Inherited Members

- Static Public Member Functions inherited from fst::Fst< typename internal::ComposeFstImplBase< A, CacheStore >::Arc >
static FstRead (std::istream &strm, const FstReadOptions &opts)
 
static FstRead (const std::string &source)
 
- Protected Member Functions inherited from fst::ComposeFst< A >
 ComposeFst (std::shared_ptr< Impl > impl)
 
- Protected Member Functions inherited from fst::ImplToFst< internal::ComposeFstImplBase< A, CacheStore > >
 ImplToFst (std::shared_ptr< internal::ComposeFstImplBase< A, CacheStore > > impl)
 
 ImplToFst (const ImplToFst &fst, bool safe)
 
 ImplToFst ()=delete
 
 ImplToFst (const ImplToFst &fst)
 
 ImplToFst (ImplToFst &&fst) noexcept
 
ImplToFstoperator= (const ImplToFst &fst)
 
ImplToFstoperator= (ImplToFst &&fst) noexcept
 
const internal::ComposeFstImplBase< A, CacheStore > * GetImpl () const
 
internal::ComposeFstImplBase< A, CacheStore > * GetMutableImpl () const
 
std::shared_ptr< internal::ComposeFstImplBase< A, CacheStore > > GetSharedImpl () const
 
bool Unique () const
 
void SetImpl (std::shared_ptr< internal::ComposeFstImplBase< A, CacheStore > > impl)
 
- Protected Member Functions inherited from fst::Fst< typename internal::ComposeFstImplBase< A, CacheStore >::Arc >
bool WriteFile (const std::string &source) const
 
- Static Protected Member Functions inherited from fst::ComposeFst< A >
static std::shared_ptr< ImplCreateBase2 (const typename Matcher1::FST &fst1, const typename Matcher2::FST &fst2, const ComposeFstImplOptions< Matcher1, Matcher2, Filter, StateTuple, CacheStore > &opts)
 
static std::shared_ptr< ImplCreateBase1 (const Fst< Arc > &fst1, const Fst< Arc > &fst2, const ComposeFstOptions< Arc, Matcher, Filter, StateTuple > &opts)
 
static std::shared_ptr< ImplCreateBase (const Fst< Arc > &fst1, const Fst< Arc > &fst2, const CacheOptions &opts)
 

Detailed Description

template<class A>
class fst::DifferenceFst< A >

Definition at line 69 of file difference.h.

Member Typedef Documentation

template<class A>
using fst::DifferenceFst< A >::Arc = A

Definition at line 71 of file difference.h.

template<class A>
using fst::DifferenceFst< A >::StateId = typename Arc::StateId

Definition at line 73 of file difference.h.

template<class A>
using fst::DifferenceFst< A >::Weight = typename Arc::Weight

Definition at line 72 of file difference.h.

Constructor & Destructor Documentation

template<class A>
fst::DifferenceFst< A >::DifferenceFst ( const Fst< Arc > &  fst1,
const Fst< Arc > &  fst2,
const CacheOptions opts = CacheOptions() 
)
inline

Definition at line 78 of file difference.h.

template<class A>
template<class Matcher , class Filter , class StateTable >
fst::DifferenceFst< A >::DifferenceFst ( const Fst< Arc > &  fst1,
const Fst< Arc > &  fst2,
const DifferenceFstOptions< Arc, Matcher, Filter, StateTable > &  opts 
)
inline

Definition at line 88 of file difference.h.

template<class A>
fst::DifferenceFst< A >::DifferenceFst ( const DifferenceFst< A > &  fst,
bool  safe = false 
)
inline

Definition at line 100 of file difference.h.

Member Function Documentation

template<class A>
DifferenceFst* fst::DifferenceFst< A >::Copy ( bool  safe = false) const
inlineoverridevirtual

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