FST  openfst-1.6.1
OpenFst Library
Public Types | Public Member Functions | Public Attributes | List of all members
fst::PruneOptions< Arc, ArcFilter > Struct Template Reference

#include <prune.h>

Public Types

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

Public Member Functions

 PruneOptions (const Weight &weight_threshold, StateId state_threshold, ArcFilter filter, std::vector< Weight > *distance=nullptr, float delta=kDelta)
 

Public Attributes

Weight weight_threshold
 
StateId state_threshold
 
ArcFilter filter
 
const std::vector< Weight > * distance
 
float delta
 

Detailed Description

template<class Arc, class ArcFilter>
struct fst::PruneOptions< Arc, ArcFilter >

Definition at line 52 of file prune.h.

Member Typedef Documentation

template<class Arc, class ArcFilter>
using fst::PruneOptions< Arc, ArcFilter >::StateId = typename Arc::StateId

Definition at line 53 of file prune.h.

template<class Arc, class ArcFilter>
using fst::PruneOptions< Arc, ArcFilter >::Weight = typename Arc::Weight

Definition at line 54 of file prune.h.

Constructor & Destructor Documentation

template<class Arc, class ArcFilter>
fst::PruneOptions< Arc, ArcFilter >::PruneOptions ( const Weight weight_threshold,
StateId  state_threshold,
ArcFilter  filter,
std::vector< Weight > *  distance = nullptr,
float  delta = kDelta 
)
inline

Definition at line 56 of file prune.h.

Member Data Documentation

template<class Arc, class ArcFilter>
float fst::PruneOptions< Arc, ArcFilter >::delta

Definition at line 75 of file prune.h.

template<class Arc, class ArcFilter>
const std::vector<Weight>* fst::PruneOptions< Arc, ArcFilter >::distance

Definition at line 72 of file prune.h.

template<class Arc, class ArcFilter>
ArcFilter fst::PruneOptions< Arc, ArcFilter >::filter

Definition at line 70 of file prune.h.

template<class Arc, class ArcFilter>
StateId fst::PruneOptions< Arc, ArcFilter >::state_threshold

Definition at line 68 of file prune.h.

template<class Arc, class ArcFilter>
Weight fst::PruneOptions< Arc, ArcFilter >::weight_threshold

Definition at line 66 of file prune.h.


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