HomeSort by relevance Sort by last modified time
    Searched refs:One (Results 26 - 50 of 215) sorted by null

12 3 4 5 6 7 8 9

  /external/openfst/src/include/fst/
push.h 63 if ((w == Arc::Weight::One()) || (w == Arc::Weight::Zero()))
91 // equal to One() in the resulting machine. If pushing towards the
104 typename Arc::Weight total_weight = Arc::Weight::One();
149 GallicArc<Arc, stype>::Weight::One();
155 : StringWeight<typename Arc::Label, stype>::One(),
157 : Arc::Weight::One());
sparse-power-weight.h 65 return ApproxEqual(v1, v2, delta_) ? W::One() : W::Zero();
83 using SparseTupleWeight<W, K>::One;
107 static const SparsePowerWeight<W, K> &One() {
108 static const SparsePowerWeight<W, K> one(SparseTupleWeight<W, K>::One());
109 return one;
198 return ret == SparsePowerWeight<W, K>::One();
lexicographic-weight.h 47 using PairWeight<W1, W2>::One;
80 static const LexicographicWeight<W1, W2> &One() {
81 static const LexicographicWeight<W1, W2> one(PairWeight<W1, W2>::One());
82 return one;
product-weight.h 38 using PairWeight<W1, W2>::One;
57 static const ProductWeight<W1, W2> &One() {
58 static const ProductWeight<W1, W2> one(PairWeight<W1, W2>::One());
59 return one;
union.h 98 fst1->AddArc(start1, Arc(0, 0, Weight::One(), start2 + numstates1));
102 fst1->AddArc(nstart1, Arc(0, 0, Weight::One(), start1));
103 fst1->AddArc(nstart1, Arc(0, 0, Weight::One(), start2 + numstates1));
closure.h 39 // transduced to itself with weight Weight::One() as well.
65 fst->SetFinal(nstart, Weight::One());
67 fst->AddArc(nstart, Arc(0, 0, Weight::One(), start));
96 // to itself with weight Weight::One() as well.
string.h 96 const Weight &weight = Weight::One()) const {
101 fst->AddArc(i, Arc(labels[i], labels[i], Weight::One(), i + 1));
115 const Weight &weight = Weight::One()) const {
119 compacts.push_back(make_pair(labels[i], Weight::One()));
weight.h 22 // two designated elements Zero and One with the following properties:
24 // Times: associative and has identity One, distributes w.r.t. Plus, and
32 // static member functions =Zero()= and =One()= and these must form
149 // Power(w, 0) is One() for the semiring, and
154 W result = W::One();
expectation-weight.h 21 // One: <One, Zero>
80 static const ExpectationWeight<X1, X2> &One() {
81 static const ExpectationWeight<X1, X2> one(X1::One(), X2::Zero());
82 return one;
shortest-path.h 52 // One() and Zero() according to NaturalLess.
131 distance->push_back(Weight::One());
222 Weight dx = px.first == superfinal_ ? Weight::One() :
224 Weight dy = py.first == superfinal_ ? Weight::One() :
306 // distance from 'superfinal' to the final state is 'Weight::One()',
320 less(weight_threshold, Weight::One()) ||
327 ofst->SetFinal(final, Weight::One());
330 pairs[final] = Pair(ifst.Start(), Weight::One());
339 Weight d = p.first == superfinal ? Weight::One() :
350 ofst->AddArc(ofst->Start(), Arc(0, 0, Weight::One(), state))
    [all...]
  /external/srec/tools/thirdparty/OpenFst/fst/lib/
union.h 73 fst1->AddArc(start1, Arc(0, 0, Weight::One(), start2 + numstates1));
77 fst1->AddArc(nstart1, Arc(0, 0, Weight::One(), start1));
78 fst1->AddArc(nstart1, Arc(0, 0, Weight::One(), start2 + numstates1));
closure.h 32 // transduced to itself with weight Weight::One() as well.
57 fst->SetFinal(nstart, Weight::One());
59 fst->AddArc(nstart, Arc(0, 0, Weight::One(), start));
88 // to itself with weight Weight::One() as well.
shortest-path.h 101 distance->push_back(Weight::One());
145 (*distance)[source] = Weight::One();
263 distance->insert(distance->begin(), Weight::One());
278 distance->push_back(Weight::One()); // differently when unique=true
287 ofst->SetFinal(final, Weight::One());
290 pairs[final] = Pair(rfst.Start(), Weight::One());
301 ofst->AddArc(ofst->Start(), Arc(0, 0, Weight::One(), state));
factor-weight.h 73 pair<W, W> Value() const { return make_pair(W::One(), W::One()); } // unused
120 GallicWeight<L, W, S> w2(iter.Value().second, W::One());
182 StateId start = FindState(Element(fst_->Start(), Weight::One()));
232 if (final_only_ && e.weight == Weight::One()) {
265 StateId d = FindState(Element(arc.nextstate, Weight::One()));
randgen.h 141 ofst->SetFinal(opts.dest, Weight::One());
146 Arc oarc(iarc.ilabel, iarc.olabel, Weight::One(), ofst->AddState());
  /external/chromium_org/chrome/browser/resources/file_manager/foreground/js/
error_dialog.js 20 * One-time initialization of DOM.
  /external/llvm/unittests/Support/
MemoryBufferTest.cpp 50 OwningBuffer MB2(MemoryBuffer::getMemBuffer(data, "one", false));
87 OwningBuffer One(MemoryBuffer::getNewUninitMemBuffer(321));
88 EXPECT_TRUE(0 != One.get());
  /external/openfst/src/include/fst/script/
print-impl.h 121 if (show_weight_one_ || arc.weight != Weight::One())
129 if (show_weight_one_ || final != Weight::One()) {
143 bool show_weight_one_; // print weights equal to Weight::One()
weight-class.h 105 case ONE:
106 return "ONE";
125 static const WeightClass &One() {
126 static WeightClass w(ONE);
140 enum ElementType { ZERO, ONE, OTHER };
152 // We need to store zero and one as statics, because the weight type
156 static const W one = W::One(); local
160 } else if (element_type_ == ONE) {
161 return &one;
    [all...]
  /external/chromium/chrome/common/extensions/
extension_extent_unittest.cc 24 TEST(ExtensionExtentTest, One) {
  /external/openfst/src/test/
weight-tester.h 65 // Tests (Plus, Times, Zero, One) defines a commutative semiring.
78 CHECK(Times(w1, Weight::One()) == w1);
79 CHECK(Times(Weight::One(), w1) == w1);
97 // Check Power(w, 0) is Weight::One()
98 CHECK(Power(w1, 0) == Weight::One());
198 Weight v(Weight::One());
  /external/llvm/unittests/IR/
InstructionsTest.cpp 35 Constant* One = ConstantInt::get(Int1, 1, true);
36 const ReturnInst* r1 = ReturnInst::Create(C, One);
40 EXPECT_EQ(One, *b);
41 EXPECT_EQ(One, r1->getOperand(0));
73 Constant* One = ConstantInt::get(Int1, 1, true);
76 BranchInst* b1 = BranchInst::Create(bb0, bb1, One);
89 EXPECT_EQ(One, *b);
90 EXPECT_EQ(One, b1->getOperand(0));
91 EXPECT_EQ(One, b1->getCondition());
  /external/chromium_org/v8/test/webkit/
comparison-operators.js 61 var One = 1;
93 doTest('0', 'One', -1);
94 doTest('One', '0', 1);
  /external/chromium_org/chrome/renderer/resources/extensions/
gcm_custom_bindings.js 20 throw new Error("One of data keys is empty.");
  /external/openfst/src/bin/
fstmap.cc 29 "Map operation, one of: \"arc_sum\", \"identity\", \"invert\", "
61 s::WeightClass::One() : s::WeightClass::Zero());

Completed in 409 milliseconds

12 3 4 5 6 7 8 9