#include <const-integer-set.h>
Public Types | |
typedef std::vector< I >::const_iterator | iterator |
Public Member Functions | |
ConstIntegerSet () | |
void | Init (const std::vector< I > &input) |
void | Init (const std::set< I > &input) |
ConstIntegerSet (const std::vector< I > &input) | |
ConstIntegerSet (const std::set< I > &input) | |
ConstIntegerSet (const ConstIntegerSet< I > &other) | |
int | count (I i) const |
iterator | begin () const |
iterator | end () const |
size_t | size () const |
bool | empty () const |
void | Write (std::ostream &os, bool binary) const |
void | Read (std::istream &is, bool binary) |
Private Member Functions | |
void | InitInternal () |
Private Attributes | |
I | lowest_member_ |
I | highest_member_ |
bool | contiguous_ |
bool | quick_ |
std::vector< bool > | quick_set_ |
std::vector< I > | slow_set_ |
Definition at line 43 of file const-integer-set.h.
typedef std::vector<I>::const_iterator iterator |
Definition at line 73 of file const-integer-set.h.
|
inline |
Definition at line 45 of file const-integer-set.h.
|
inlineexplicit |
Definition at line 58 of file const-integer-set.h.
|
inlineexplicit |
Definition at line 62 of file const-integer-set.h.
|
inlineexplicit |
Definition at line 66 of file const-integer-set.h.
|
inline |
Definition at line 74 of file const-integer-set.h.
Referenced by TreeRenderer::MakeEdgeLabel(), SplitEventMap::MapValues(), and kaldi::TestSetOfNumbers().
int count | ( | I | i | ) | const |
Definition at line 62 of file const-integer-set-inl.h.
Referenced by ConstIntegerSet< EventValueType >::ConstIntegerSet(), OnlineFasterDecoder::EndOfUtterance(), InverseLeftBiphoneContextFst::Final(), InverseLeftBiphoneContextFst::GetArc(), InverseContextFst::InverseContextFst(), InverseContextFst::IsDisambigSymbol(), InverseContextFst::IsPhoneSymbol(), fst::MakePrecedingInputSymbolsSameClass(), fst::PenalizeArcsWithSomeInputSymbols(), fst::RemoveArcsWithSomeInputSymbols(), TreeRenderer::RenderSplit(), kaldi::TestSetOfNumbers(), kaldi::WeightSilencePost(), and kaldi::WeightSilencePostDistributed().
|
inline |
Definition at line 77 of file const-integer-set.h.
Referenced by InverseContextFst::InverseContextFst(), and InverseLeftBiphoneContextFst::InverseLeftBiphoneContextFst().
|
inline |
Definition at line 75 of file const-integer-set.h.
Referenced by TreeRenderer::MakeEdgeLabel(), and kaldi::TestSetOfNumbers().
|
inline |
Definition at line 47 of file const-integer-set.h.
Referenced by kaldi::TestSetOfNumbers().
|
inline |
Definition at line 53 of file const-integer-set.h.
|
private |
Definition at line 30 of file const-integer-set-inl.h.
Referenced by ConstIntegerSet< EventValueType >::ConstIntegerSet(), and ConstIntegerSet< EventValueType >::Init().
void Read | ( | std::istream & | is, |
bool | binary | ||
) |
Definition at line 82 of file const-integer-set-inl.h.
Referenced by ConstIntegerSet< EventValueType >::empty(), SplitEventMap::Read(), TreeRenderer::RenderSplit(), and kaldi::TestSetOfNumbers().
|
inline |
void Write | ( | std::ostream & | os, |
bool | binary | ||
) | const |
Definition at line 77 of file const-integer-set-inl.h.
Referenced by ConstIntegerSet< EventValueType >::empty(), and kaldi::TestSetOfNumbers().
|
private |
Definition at line 85 of file const-integer-set.h.
|
private |
Definition at line 84 of file const-integer-set.h.
|
private |
Definition at line 83 of file const-integer-set.h.
|
private |
Definition at line 86 of file const-integer-set.h.
|
private |
Definition at line 87 of file const-integer-set.h.
|
private |
Definition at line 88 of file const-integer-set.h.
Referenced by ConstIntegerSet< EventValueType >::begin(), ConstIntegerSet< EventValueType >::ConstIntegerSet(), ConstIntegerSet< EventValueType >::empty(), ConstIntegerSet< EventValueType >::end(), ConstIntegerSet< EventValueType >::Init(), and ConstIntegerSet< EventValueType >::size().