FST
openfst-1.8.4
OpenFst Library
|
#include <set-weight.h>
Public Types | |
using | Label = L |
using | ReverseWeight = SetWeight< Label, S > |
using | Iterator = SetWeightIterator< SetWeight > |
Public Member Functions | |
SetWeight ()=default | |
template<typename Iterator > | |
SetWeight (const Iterator begin, const Iterator end) | |
SetWeight (Label label) | |
template<SetType S2> | |
SetWeight (const SetWeight< Label, S2 > &w) | |
template<SetType S2> | |
SetWeight (SetWeight< Label, S2 > &&w) | |
template<SetType S2> | |
SetWeight & | operator= (const SetWeight< Label, S2 > &w) |
template<SetType S2> | |
SetWeight & | operator= (SetWeight< Label, S2 > &&w) |
bool | Member () const |
std::istream & | Read (std::istream &strm) |
std::ostream & | Write (std::ostream &strm) const |
size_t | Hash () const |
SetWeight | Quantize (float delta=kDelta) const |
ReverseWeight | Reverse () const |
void | Clear () |
size_t | Size () const |
Label | Back () |
void | PushBack (Label label) |
Static Public Member Functions | |
static const SetWeight & | Zero () |
static const SetWeight & | One () |
static const SetWeight & | NoWeight () |
static const std::string & | Type () |
static constexpr uint64_t | Properties () |
static const SetWeight & | EmptySet () |
static const SetWeight & | UnivSet () |
Friends | |
class | SetWeightIterator< SetWeight > |
template<typename L2 , SetType S2> | |
class | SetWeight |
Definition at line 71 of file set-weight.h.
using fst::SetWeight< L, S >::Iterator = SetWeightIterator<SetWeight> |
Definition at line 75 of file set-weight.h.
using fst::SetWeight< L, S >::Label = L |
Definition at line 73 of file set-weight.h.
using fst::SetWeight< L, S >::ReverseWeight = SetWeight<Label, S> |
Definition at line 74 of file set-weight.h.
|
default |
|
inline |
Definition at line 85 of file set-weight.h.
|
inlineexplicit |
Definition at line 91 of file set-weight.h.
|
inlineexplicit |
Definition at line 94 of file set-weight.h.
|
inlineexplicit |
Definition at line 98 of file set-weight.h.
|
inline |
Definition at line 182 of file set-weight.h.
|
inline |
Definition at line 175 of file set-weight.h.
|
inlinestatic |
Definition at line 163 of file set-weight.h.
|
inline |
Definition at line 289 of file set-weight.h.
|
inline |
Definition at line 277 of file set-weight.h.
|
inlinestatic |
Definition at line 126 of file set-weight.h.
|
inlinestatic |
Definition at line 122 of file set-weight.h.
|
inline |
Definition at line 104 of file set-weight.h.
|
inline |
Definition at line 111 of file set-weight.h.
|
inlinestatic |
Definition at line 155 of file set-weight.h.
|
inline |
Definition at line 193 of file set-weight.h.
|
inline |
Definition at line 151 of file set-weight.h.
|
inline |
Definition at line 254 of file set-weight.h.
|
inline |
Definition at line 284 of file set-weight.h.
|
inline |
Definition at line 180 of file set-weight.h.
|
inlinestatic |
Definition at line 131 of file set-weight.h.
|
inlinestatic |
Definition at line 169 of file set-weight.h.
|
inline |
Definition at line 267 of file set-weight.h.
|
inlinestatic |
Definition at line 118 of file set-weight.h.
|
friend |
Definition at line 79 of file set-weight.h.
|
friend |
Definition at line 76 of file set-weight.h.