HomeSort by relevance Sort by last modified time
    Searched defs:Weight (Results 126 - 137 of 137) sorted by null

1 2 3 4 56

  /external/openfst/src/include/fst/
cache.h 93 // you must set the final weight even if the state is non-final to
108 typedef typename Arc::Weight Weight;
219 void SetFinal(StateId s, Weight w) {
372 // Is the final weight of state s cached?
394 Weight Final(StateId s) const {
473 static const uint32 kCacheFinal = 0x0001; // Final weight has been cached
613 typedef typename A::Weight Weight;
616 CacheState() : final(Weight::Zero()), flags(0), ref_count(0) {
    [all...]
compact-fst.h 62 // non-Zero() final weight as a transition). A typical example is a
127 // 'Final(s) != Weight::Zero()') is stored first.
213 typedef typename A::Weight Weight;
226 if (fst.Final(s) != Weight::Zero()) ++nfinals;
248 if (fst.Final(s) != Weight::Zero())
284 typedef typename Arc::Weight Weight;
288 // For strings, allow implicit final weight.
319 Weight::One(), kNoStateId))
    [all...]
determinize.h 39 #include <fst/factor-weight.h>
57 typedef W Weight;
70 typedef StringWeight<L, S> Weight;
72 Weight operator()(const Weight &w1, const Weight &w2) const {
77 FSTERROR() << "LabelCommonDivisor: Weight needs to be left semiring";
78 return Weight::NoWeight();
80 return Weight::One();
81 } else if (w1 == Weight::Zero())
133 Weight weight; \/\/ Residual weight member in struct:fst::DeterminizeElement
    [all...]
fst.h 165 typedef typename A::Weight Weight;
172 virtual Weight Final(StateId) const = 0; // State's final weight
384 static const uint32 kArcWeightValue = 0x0004; // " " " weight
542 typename F::Arc::Weight Final(const F &fst, typename F::Arc::StateId s) {
564 typename A::Weight Final(const Fst<A> &fst, typename A::StateId s) {
605 typedef typename A::Weight Weight;
838 typedef typename Arc::Weight Weight
    [all...]
replace.h 329 typedef typename A::Weight Weight;
496 // return final weight of state (kInfWeight means state is not final)
497 Weight Final(StateId s) {
504 if (fst->Final(fst_state) != Weight::Zero() && stack.Depth() == 0)
507 SetFinal(s, Weight::Zero());
698 if (fst->Final(fst_state) != Weight::Zero() && stack.Depth()) {
709 arcp->weight = fst->Final(fst_state);
733 *arcp = A(arc.ilabel, arc.olabel, arc.weight, nextstate);
753 *arcp = A(ilabel, 0, arc.weight, nt_nextstate)
    [all...]
  /external/openfst/src/include/fst/extensions/ngram/
ngram-fst.h 46 typedef typename A::Weight Weight;
78 typedef typename A::Weight Weight;
140 Weight Final(StateId state) const {
144 return Weight::Zero();
180 Weight weight; local
191 offset = (offset + sizeof(weight) - 1) & ~(sizeof(weight) - 1)
405 Weight weight; local
    [all...]
  /external/openfst/src/include/fst/extensions/pdt/
expand.h 80 typedef typename A::Weight Weight;
137 Weight Final(StateId s) {
140 Weight w = fst_->Final(tuple.state_id);
141 if (w != Weight::Zero() && tuple.stack_id == 0)
144 SetFinal(s, Weight::Zero());
232 typedef typename A::Weight Weight;
340 typedef typename A::Weight Weight;
    [all...]
shortest-path.h 71 typedef typename Arc::Weight Weight;
113 SearchData() : distance(Weight::Zero()),
118 Weight distance; // Distance to this state from PDT 'start' state
148 Weight Distance(SearchState s) const {
153 Weight Distance(const ParenSpec &paren) const {
178 void SetDistance(SearchState s, Weight w) {
183 void SetDistance(const ParenSpec &paren, Weight w) {
348 = Arc(kNoLabel, kNoLabel, Weight::Zero(), kNoStateId);
383 typedef typename Arc::Weight Weight
    [all...]
  /external/srec/tools/thirdparty/OpenFst/fst/lib/
compose.h 101 typedef typename A::Weight Weight;
137 Weight Final(StateId s) {
139 Weight final = ComputeFinal(s);
177 virtual Weight ComputeFinal(StateId s) = 0;
332 typedef typename A::Weight Weight;
437 arc.weight = Times(arcb.weight, arca.weight);
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
BaseAccountType.java 102 private interface Weight {
    [all...]
  /external/llvm/utils/TableGen/
CodeGenRegisters.cpp 536 unsigned Weight = 0;
539 Weight += RegBank.getRegUnit(*I).Weight;
541 return Weight;
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.apache.lucene_1.9.1.v20100518-1140.jar 

Completed in 138 milliseconds

1 2 3 4 56