FST  openfst-1.8.2
OpenFst Library
Namespaces | Functions | Variables
properties.h File Reference
#include <sys/types.h>
#include <cstdint>
#include <vector>
#include <fst/compat.h>
#include <fst/log.h>
#include <string_view>
Include dependency graph for properties.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 fst
 
 fst::internal
 

Functions

uint64_t fst::SetStartProperties (uint64_t inprops)
 
template<typename Weight >
uint64_t fst::SetFinalProperties (uint64_t inprops, const Weight &old_weight, const Weight &new_weight)
 
uint64_t fst::AddStateProperties (uint64_t inprops)
 
template<typename A >
uint64_t fst::AddArcProperties (uint64_t inprops, typename A::StateId s, const A &arc, const A *prev_arc)
 
uint64_t fst::DeleteStatesProperties (uint64_t inprops)
 
uint64_t fst::DeleteAllStatesProperties (uint64_t inprops, uint64_t staticProps)
 
uint64_t fst::DeleteArcsProperties (uint64_t inprops)
 
uint64_t fst::ClosureProperties (uint64_t inprops, bool star, bool delayed=false)
 
uint64_t fst::ComplementProperties (uint64_t inprops)
 
uint64_t fst::ComposeProperties (uint64_t inprops1, uint64_t inprops2)
 
uint64_t fst::ConcatProperties (uint64_t inprops1, uint64_t inprops2, bool delayed=false)
 
uint64_t fst::DeterminizeProperties (uint64_t inprops, bool has_subsequential_label, bool distinct_psubsequential_labels)
 
uint64_t fst::FactorWeightProperties (uint64_t inprops)
 
uint64_t fst::InvertProperties (uint64_t inprops)
 
uint64_t fst::ProjectProperties (uint64_t inprops, bool project_input)
 
uint64_t fst::RandGenProperties (uint64_t inprops, bool weighted)
 
uint64_t fst::RelabelProperties (uint64_t inprops)
 
uint64_t fst::ReplaceProperties (const std::vector< uint64_t > &inprops, size_t root, bool epsilon_on_call, bool epsilon_on_return, bool out_epsilon_on_call, bool out_epsilon_on_return, bool replace_transducer, bool no_empty_fst, bool all_ilabel_sorted, bool all_olabel_sorted, bool all_negative_or_dense)
 
uint64_t fst::ReverseProperties (uint64_t inprops, bool has_superinitial)
 
uint64_t fst::ReweightProperties (uint64_t inprops, bool added_start_epsilon)
 
uint64_t fst::RmEpsilonProperties (uint64_t inprops, bool delayed=false)
 
uint64_t fst::ShortestPathProperties (uint64_t props, bool tree=false)
 
uint64_t fst::SynchronizeProperties (uint64_t inprops)
 
uint64_t fst::UnionProperties (uint64_t inprops1, uint64_t inprops2, bool delayed=false)
 
template<typename Arc >
uint64_t fst::AddArcProperties (uint64_t inprops, typename Arc::StateId s, const Arc &arc, const Arc *prev_arc)
 
uint64_t fst::internal::KnownProperties (uint64_t props)
 
bool fst::internal::CompatProperties (uint64_t props1, uint64_t props2)
 

Variables

constexpr uint64_t fst::kExpanded = 0x0000000000000001ULL
 
constexpr uint64_t fst::kMutable = 0x0000000000000002ULL
 
constexpr uint64_t fst::kError = 0x0000000000000004ULL
 
constexpr uint64_t fst::kAcceptor = 0x0000000000010000ULL
 
constexpr uint64_t fst::kNotAcceptor = 0x0000000000020000ULL
 
constexpr uint64_t fst::kIDeterministic = 0x0000000000040000ULL
 
constexpr uint64_t fst::kNonIDeterministic = 0x0000000000080000ULL
 
constexpr uint64_t fst::kODeterministic = 0x0000000000100000ULL
 
constexpr uint64_t fst::kNonODeterministic = 0x0000000000200000ULL
 
constexpr uint64_t fst::kEpsilons = 0x0000000000400000ULL
 
constexpr uint64_t fst::kNoEpsilons = 0x0000000000800000ULL
 
constexpr uint64_t fst::kIEpsilons = 0x0000000001000000ULL
 
constexpr uint64_t fst::kNoIEpsilons = 0x0000000002000000ULL
 
constexpr uint64_t fst::kOEpsilons = 0x0000000004000000ULL
 
constexpr uint64_t fst::kNoOEpsilons = 0x0000000008000000ULL
 
constexpr uint64_t fst::kILabelSorted = 0x0000000010000000ULL
 
constexpr uint64_t fst::kNotILabelSorted = 0x0000000020000000ULL
 
constexpr uint64_t fst::kOLabelSorted = 0x0000000040000000ULL
 
constexpr uint64_t fst::kNotOLabelSorted = 0x0000000080000000ULL
 
constexpr uint64_t fst::kWeighted = 0x0000000100000000ULL
 
constexpr uint64_t fst::kUnweighted = 0x0000000200000000ULL
 
constexpr uint64_t fst::kCyclic = 0x0000000400000000ULL
 
constexpr uint64_t fst::kAcyclic = 0x0000000800000000ULL
 
constexpr uint64_t fst::kInitialCyclic = 0x0000001000000000ULL
 
constexpr uint64_t fst::kInitialAcyclic = 0x0000002000000000ULL
 
constexpr uint64_t fst::kTopSorted = 0x0000004000000000ULL
 
constexpr uint64_t fst::kNotTopSorted = 0x0000008000000000ULL
 
constexpr uint64_t fst::kAccessible = 0x0000010000000000ULL
 
constexpr uint64_t fst::kNotAccessible = 0x0000020000000000ULL
 
constexpr uint64_t fst::kCoAccessible = 0x0000040000000000ULL
 
constexpr uint64_t fst::kNotCoAccessible = 0x0000080000000000ULL
 
constexpr uint64_t fst::kString = 0x0000100000000000ULL
 
constexpr uint64_t fst::kNotString = 0x0000200000000000ULL
 
constexpr uint64_t fst::kWeightedCycles = 0x0000400000000000ULL
 
constexpr uint64_t fst::kUnweightedCycles = 0x0000800000000000ULL
 
constexpr uint64_t fst::kNullProperties
 
constexpr uint64_t fst::kCompiledStringProperties
 
constexpr uint64_t fst::kCopyProperties
 
constexpr uint64_t fst::kIntrinsicProperties
 
constexpr uint64_t fst::kExtrinsicProperties = kError
 
constexpr uint64_t fst::kSetStartProperties
 
constexpr uint64_t fst::kSetFinalProperties
 
constexpr uint64_t fst::kAddStateProperties
 
constexpr uint64_t fst::kAddArcProperties
 
constexpr uint64_t fst::kSetArcProperties = kExpanded | kMutable | kError
 
constexpr uint64_t fst::kDeleteStatesProperties
 
constexpr uint64_t fst::kDeleteArcsProperties
 
constexpr uint64_t fst::kStateSortProperties
 
constexpr uint64_t fst::kArcSortProperties
 
constexpr uint64_t fst::kILabelInvariantProperties
 
constexpr uint64_t fst::kOLabelInvariantProperties
 
constexpr uint64_t fst::kWeightInvariantProperties
 
constexpr uint64_t fst::kAddSuperFinalProperties
 
constexpr uint64_t fst::kRmSuperFinalProperties
 
constexpr uint64_t fst::kBinaryProperties = 0x0000000000000007ULL
 
constexpr uint64_t fst::kTrinaryProperties = 0x0000ffffffff0000ULL
 
constexpr uint64_t fst::kPosTrinaryProperties
 
constexpr uint64_t fst::kNegTrinaryProperties
 
constexpr uint64_t fst::kFstProperties
 
const std::string_view fst::internal::PropertyNames []