FST
openfst-1.8.2
OpenFst Library
|
#include <mpdt.h>
Public Types | |
using | Label = Level |
using | Config = StackConfig< StackId, Level, nlevels > |
using | ConfigToStackId = std::map< Config, StackId > |
Public Member Functions | |
MPdtStack (const std::vector< std::pair< Label, Label >> &parens, const std::vector< Level > &assignments) | |
~MPdtStack ()=default | |
MPdtStack (const MPdtStack &other) | |
MPdtStack & | operator= (const MPdtStack &other) |
MPdtStack (MPdtStack &&)=default | |
MPdtStack & | operator= (MPdtStack &&)=default |
StackId | Find (StackId stack_id, Label label) |
ssize_t | Top (StackId stack_id) const |
ssize_t | ParenId (Label label) const |
bool | Error () |
StackId | ExternalStackId (const Config &config) |
const Config | InternalStackIds (StackId stack_id) const |
bool | Empty (const Config &config, Level level) const |
bool | AllEmpty (const Config &config) |
using fst::internal::MPdtStack< StackId, Level, nlevels, restrict >::Config = StackConfig<StackId, Level, nlevels> |
using fst::internal::MPdtStack< StackId, Level, nlevels, restrict >::ConfigToStackId = std::map<Config, StackId> |
using fst::internal::MPdtStack< StackId, Level, nlevels, restrict >::Label = Level |
fst::internal::MPdtStack< StackId, Level, nlevels, restrict >::MPdtStack | ( | const std::vector< std::pair< Label, Label >> & | parens, |
const std::vector< Level > & | assignments | ||
) |
|
default |
|
inline |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
StackId fst::internal::MPdtStack< StackId, Level, nlevels, restrict >::Find | ( | StackId | stack_id, |
Label | label | ||
) |
|
inline |
|
inline |
|
default |
|
inline |
|
inline |