Lines Matching defs:x1
35 typedef TropicalWeight X1;
37 using PairWeight<X1, X2>::Value1;
38 using PairWeight<X1, X2>::Value2;
40 using PairWeight<X1, X2>::Reverse;
41 using PairWeight<X1, X2>::Quantize;
42 using PairWeight<X1, X2>::Member;
46 SignedLogWeightTpl() : PairWeight<X1, X2>() {}
49 : PairWeight<X1, X2> (w) { }
51 SignedLogWeightTpl(const PairWeight<X1, X2>& w)
52 : PairWeight<X1, X2> (w) { }
54 SignedLogWeightTpl(const X1& x1, const X2& x2)
55 : PairWeight<X1, X2>(x1, x2) { }
58 static const SignedLogWeightTpl<T> zero(X1(1.0), X2::Zero());
63 static const SignedLogWeightTpl<T> one(X1(1.0), X2::One());
68 static const SignedLogWeightTpl<T> no_weight(X1(1.0), X2::NoWeight());
73 static const string type = "signed_log_" + X1::Type() + "_" + X2::Type();
77 ProductWeight<X1, X2> Quantize(float delta = kDelta) const {
78 return PairWeight<X1, X2>::Quantize();
82 return PairWeight<X1, X2>::Reverse();
86 return PairWeight<X1, X2>::Member();
295 TropicalWeight x1 = 1.0;
297 return SignedLogWeight(x1, x2);
304 TropicalWeight x1 = 1.0;
306 return SignedLogWeight(x1, x2);
313 TropicalWeight x1 = 1.0;
315 return SignedLogWeight(x1, x2);
322 TropicalWeight x1 = w.Value1();
324 return SignedLogWeight(x1, x2);
332 TropicalWeight x1 = 1.0;
334 return SignedLog64Weight(x1, x2);
341 TropicalWeight x1 = 1.0;
343 return SignedLog64Weight(x1, x2);
350 TropicalWeight x1 = 1.0;
352 return SignedLog64Weight(x1, x2);
359 TropicalWeight x1 = w.Value1();
361 return SignedLog64Weight(x1, x2);