FST  openfst-1.7.0
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< Arc > &fst, bool safe=false)
 
DifferenceFst< Arc > * Copy (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< A, CacheStore > &fst, bool safe=false)
 
ComposeFst< A, CacheStore > * Copy (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 Properties (uint64 mask, bool test) const override
 
const 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 ()
 
virtual bool Write (std::ostream &strm, const FstWriteOptions &opts) const
 
virtual bool Write (const string &filename) 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 Fst< Arc > * Read (std::istream &strm, const FstReadOptions &opts)
 
static Fst< Arc > * Read (const string &filename)
 
- 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< internal::ComposeFstImplBase< A, CacheStore >, Fst< typename internal::ComposeFstImplBase< A, CacheStore >::Arc > > &fst, bool safe)
 
 ImplToFst ()=delete
 
 ImplToFst (const ImplToFst< internal::ComposeFstImplBase< A, CacheStore >, Fst< typename internal::ComposeFstImplBase< A, CacheStore >::Arc > > &fst)
 
 ImplToFst (ImplToFst< internal::ComposeFstImplBase< A, CacheStore >, Fst< typename internal::ComposeFstImplBase< A, CacheStore >::Arc > > &&fst) noexcept
 
ImplToFst< internal::ComposeFstImplBase< A, CacheStore >, Fst< typename internal::ComposeFstImplBase< A, CacheStore >::Arc > > & operator= (const ImplToFst< internal::ComposeFstImplBase< A, CacheStore >, Fst< typename internal::ComposeFstImplBase< A, CacheStore >::Arc > > &fst)
 
ImplToFst< internal::ComposeFstImplBase< A, CacheStore >, Fst< typename internal::ComposeFstImplBase< A, CacheStore >::Arc > > & operator= (ImplToFst< internal::ComposeFstImplBase< A, CacheStore >, Fst< typename internal::ComposeFstImplBase< A, CacheStore >::Arc > > &&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 string &filename) 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 45 of file difference.h.

Member Typedef Documentation

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

Definition at line 47 of file difference.h.

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

Definition at line 49 of file difference.h.

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

Definition at line 48 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 54 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 64 of file difference.h.

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

Definition at line 76 of file difference.h.

Member Function Documentation

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

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