Home
last modified time | relevance | path

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

/external/openfst/src/include/fst/
Dstring-weight.h51 class StringWeight; variable
60 bool operator==(const StringWeight<L, S> &, const StringWeight<L, S> &);
65 class StringWeight {
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(); } in StringWeight() function
78 StringWeight(const Iter &begin, const Iter &end) { in StringWeight() function
84 explicit StringWeight(L l) { Init(); PushBack(l); } in StringWeight() function
86 static const StringWeight<L, S> &Zero() { in Zero()
[all …]
Dfactor-weight.h100 StringFactor(const StringWeight<L, S> &w) in StringFactor()
107 pair< StringWeight<L, S>, StringWeight<L, S> > Value() const { in Value()
109 StringWeight<L, S> w1(iter.Value()); in Value()
110 StringWeight<L, S> w2; in Value()
119 StringWeight<L, S> weight_;
Dpush.h155 : StringWeight<typename Arc::Label, stype>::One(),
Drandom-weight.h149 typedef StringWeight<L, S> Weight;
Darc.h80 typedef StringWeight<int, S> Weight;
Darc-map.h770 typedef StringWeight<typename A::Label, S> SW;
810 typedef StringWeight<Label, S> SW;
868 typedef StringWeight<Label, S> SW;
Ddeterminize.h70 typedef StringWeight<L, S> Weight;
76 if (!(StringWeight<L, S>::Properties() & kLeftSemiring)) { in operator()
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dstring-weight.h48 class StringWeight; variable
57 bool operator==(const StringWeight<L, S> &, const StringWeight<L, S> &);
62 class StringWeight {
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(); } in StringWeight() function
75 StringWeight(const Iter &begin, const Iter &end) { in StringWeight() function
81 explicit StringWeight(L l) { Init(); PushBack(l); } in StringWeight() function
83 static const StringWeight<L, S> &Zero() { in Zero()
[all …]
Dfactor-weight.h80 StringFactor(const StringWeight<L, S> &w) in StringFactor()
87 pair< StringWeight<L, S>, StringWeight<L, S> > Value() const { in Value()
89 StringWeight<L, S> w1(iter.Value()); in Value()
90 StringWeight<L, S> w2; in Value()
99 StringWeight<L, S> weight_;
Drandom-weight.h94 typedef StringWeight<L, S> Weight;
Darc.h81 typedef StringWeight<int, S> Weight;
Dmap.h686 typedef StringWeight<typename A::Label, S> SW;
722 typedef StringWeight<Label, S> SW;
762 typedef StringWeight<Label, S> SW;
Ddeterminize.h60 typedef StringWeight<L, S> Weight;
66 if (!(StringWeight<L, S>::Properties() & kLeftSemiring)) in operator()
/external/openfst/src/test/
Dweight_test.cc47 using fst::StringWeight;
121 WeightTester<StringWeight<int>, StringWeightGenerator<int> > in main()
126 WeightTester<StringWeight<int, STRING_RIGHT>, in main()