17 #include <fst/fstlib.h> 36 void InitializeEnvelopes();
37 void InitializeStartState();
38 void PropagateEnvelope (
const TupleArcFst::StateId&,
39 const TupleArcFst::StateId&,
41 void ComputeStateEnvelopes();
42 void ComputeFinalEnvelope();
46 std::vector<MertEnvelope> envelopes;
53 typedef std::vector<MertLine>
Lines;
std::vector< MertLine > Lines
bool GradientSortPredicate(const MertLine &line1, const MertLine &line2)
Implements Tropical Sparse tuple weight semiring, extending from openfst SparsePowerWeight class...
std::vector< MertLine > lines
std::string ToString(bool)