Searched refs:StringWeight (Results 1 - 14 of 14) sorted by relevance

/external/openfst/src/include/fst/
H A Dstring-weight.h51 class StringWeight;
60 bool operator==(const StringWeight<L, S> &, const StringWeight<L, S> &);
65 class StringWeight { class in namespace:fst
68 typedef StringWeight<L, REVERSE_STRING_TYPE(S)> ReverseWeight;
72 friend bool operator==<>(const StringWeight<L, S> &,
73 const StringWeight<L, S> &);
75 StringWeight() { Init(); } function in class:fst::StringWeight
78 StringWeight(const Iter &begin, const Iter &end) { function in class:fst::StringWeight
84 explicit StringWeight( function in class:fst::StringWeight
167 StringWeightIterator(const StringWeight<L, S>& w) argument
202 StringWeightReverseIterator(const StringWeight<L, S>& w) argument
296 operator ==(const StringWeight<L, S> &w1, const StringWeight<L, S> &w2) argument
312 operator !=(const StringWeight<L, S> &w1, const StringWeight<L, S> &w2) argument
318 ApproxEqual(const StringWeight<L, S> &w1, const StringWeight<L, S> &w2, float delta = kDelta) argument
325 operator <<(ostream &strm, const StringWeight<L, S> &w) argument
370 Plus(const StringWeight<L, S> &w1, const StringWeight<L, S> &w2) argument
393 Plus(const StringWeight<L, STRING_LEFT> &w1, const StringWeight<L, STRING_LEFT> &w2) argument
414 Plus(const StringWeight<L, STRING_RIGHT> &w1, const StringWeight<L, STRING_RIGHT> &w2) argument
434 Times(const StringWeight<L, S> &w1, const StringWeight<L, S> &w2) argument
452 Divide(const StringWeight<L, S> &w1, const StringWeight<L, S> &w2, DivideType typ) argument
482 Divide(const StringWeight<L, STRING_RIGHT> &w1, const StringWeight<L, STRING_RIGHT> &w2, DivideType typ) argument
512 Divide(const StringWeight<L, STRING_RIGHT_RESTRICT> &w1, const StringWeight<L, STRING_RIGHT_RESTRICT> &w2, DivideType typ) argument
[all...]
H A Dfactor-weight.h96 // Factor a StringWeight w as 'ab' where 'a' is a label.
100 StringFactor(const StringWeight<L, S> &w) argument
107 pair< StringWeight<L, S>, StringWeight<L, S> > Value() const {
109 StringWeight<L, S> w1(iter.Value());
110 StringWeight<L, S> w2;
119 StringWeight<L, S> weight_;
H A Dpush.h155 : StringWeight<typename Arc::Label, stype>::One(),
H A Darc.h80 typedef StringWeight<int, S> Weight;
H A Drandom-weight.h149 typedef StringWeight<L, S> Weight;
H A Darc-map.h770 typedef StringWeight<typename A::Label, S> SW;
810 typedef StringWeight<Label, S> SW;
868 typedef StringWeight<Label, S> SW;
H A Ddeterminize.h70 typedef StringWeight<L, S> Weight;
76 if (!(StringWeight<L, S>::Properties() & kLeftSemiring)) {
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dstring-weight.h48 class StringWeight;
57 bool operator==(const StringWeight<L, S> &, const StringWeight<L, S> &);
62 class StringWeight { class in namespace:fst
65 typedef StringWeight<L, REVERSE_STRING_TYPE(S)> ReverseWeight;
69 friend bool operator==<>(const StringWeight<L, S> &,
70 const StringWeight<L, S> &);
72 StringWeight() { Init(); } function in class:fst::StringWeight
75 StringWeight(const Iter &begin, const Iter &end) { function in class:fst::StringWeight
81 explicit StringWeight( function in class:fst::StringWeight
159 StringWeightIterator(const StringWeight<L, S>& w) argument
194 StringWeightReverseIterator(const StringWeight<L, S>& w) argument
288 operator ==(const StringWeight<L, S> &w1, const StringWeight<L, S> &w2) argument
304 operator !=(const StringWeight<L, S> &w1, const StringWeight<L, S> &w2) argument
310 ApproxEqual(const StringWeight<L, S> &w1, const StringWeight<L, S> &w2, float delta = kDelta) argument
317 operator <<(ostream &strm, const StringWeight<L, S> &w) argument
362 Plus(const StringWeight<L, S> &w1, const StringWeight<L, S> &w2) argument
379 Plus(const StringWeight<L, STRING_LEFT> &w1, const StringWeight<L, STRING_LEFT> &w2) argument
398 Plus(const StringWeight<L, STRING_RIGHT> &w1, const StringWeight<L, STRING_RIGHT> &w2) argument
416 Times(const StringWeight<L, S> &w1, const StringWeight<L, S> &w2) argument
432 Divide(const StringWeight<L, S> &w1, const StringWeight<L, S> &w2, DivideType typ) argument
457 Divide(const StringWeight<L, STRING_RIGHT> &w1, const StringWeight<L, STRING_RIGHT> &w2, DivideType typ) argument
482 Divide(const StringWeight<L, STRING_RIGHT_RESTRICT> &w1, const StringWeight<L, STRING_RIGHT_RESTRICT> &w2, DivideType typ) argument
[all...]
H A Dfactor-weight.h76 // Factor a StringWeight w as 'ab' where 'a' is a label.
80 StringFactor(const StringWeight<L, S> &w) argument
87 pair< StringWeight<L, S>, StringWeight<L, S> > Value() const {
89 StringWeight<L, S> w1(iter.Value());
90 StringWeight<L, S> w2;
99 StringWeight<L, S> weight_;
H A Drandom-weight.h94 typedef StringWeight<L, S> Weight;
H A Darc.h81 typedef StringWeight<int, S> Weight;
H A Dmap.h686 typedef StringWeight<typename A::Label, S> SW;
722 typedef StringWeight<Label, S> SW;
762 typedef StringWeight<Label, S> SW;
H A Ddeterminize.h60 typedef StringWeight<L, S> Weight;
66 if (!(StringWeight<L, S>::Properties() & kLeftSemiring))
/external/openfst/src/test/
H A Dweight_test.cc47 using fst::StringWeight;
121 WeightTester<StringWeight<int>, StringWeightGenerator<int> >
126 WeightTester<StringWeight<int, STRING_RIGHT>,

Completed in 902 milliseconds