FST
openfst-1.8.4
OpenFst Library
|
#include <partition.h>
Public Member Functions | |
Partition ()=default | |
Partition (T num_elements) | |
void | Initialize (size_t num_elements) |
T | AddClass () |
void | AllocateClasses (T num_classes) |
void | Add (T element_id, T class_id) |
void | Move (T element_id, T class_id) |
void | SplitOn (T element_id) |
template<class Queue > | |
void | FinalizeSplit (Queue *queue) |
const T | ClassId (T element_id) const |
const size_t | ClassSize (T class_id) const |
const T | NumClasses () const |
Friends | |
class | PartitionIterator< T > |
Definition at line 67 of file partition.h.
|
default |
|
inlineexplicit |
Definition at line 74 of file partition.h.
|
inline |
Definition at line 104 of file partition.h.
|
inline |
Definition at line 88 of file partition.h.
|
inline |
Definition at line 95 of file partition.h.
|
inline |
Definition at line 192 of file partition.h.
|
inline |
Definition at line 194 of file partition.h.
|
inline |
Definition at line 182 of file partition.h.
|
inline |
Definition at line 80 of file partition.h.
|
inline |
Definition at line 122 of file partition.h.
|
inline |
Definition at line 196 of file partition.h.
|
inline |
Definition at line 143 of file partition.h.
|
friend |
Definition at line 199 of file partition.h.