Searched refs:weight_ (Results 1 – 9 of 9) sorted by relevance
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
D | range.h | 42 WRange() : range_(), weight_(0.0) {} in WRange() 44 : range_(range), weight_(weight) {} in WRange() 46 : range_(begin, end, pos), weight_(weight) {} in WRange() 58 weight_ = weight; in set_weight() 74 return weight_; in weight() 79 double weight_; variable
|
D | key.h | 11 Key() : str_(), weight_(0.0), id_(0), terminal_(0) {} in Key() 17 weight_ = weight; in set_weight() 30 return weight_; in weight() 41 double weight_; variable
|
/external/marisa-trie/lib/marisa/ |
D | range.h | 42 WRange() : range_(), weight_(0.0) {} in WRange() 44 : range_(range), weight_(weight) {} in WRange() 46 : range_(begin, end, pos), weight_(weight) {} in WRange() 58 weight_ = weight; in set_weight() 74 return weight_; in weight() 79 double weight_; variable
|
D | key.h | 9 Key() : str_(), weight_(0.0), id_(0), terminal_(0) {} in Key() 15 weight_ = weight; in set_weight() 28 return weight_; in weight() 39 double weight_; variable
|
/external/openfst/src/include/fst/ |
D | compose-filter.h | 90 WeightFilterState() : weight_(W::Zero()) {} in WeightFilterState() 91 explicit WeightFilterState(W w) : weight_(w) {} in WeightFilterState() 95 size_t Hash() const { return weight_.Hash(); } in Hash() 98 return weight_ == f.weight_; 102 return weight_ != f.weight_; 105 W GetWeight() const { return weight_; } in GetWeight() 107 void SetWeight(W w) { weight_ = w; } in SetWeight() 110 W weight_;
|
D | factor-weight.h | 101 : weight_(w), done_(w.Size() <= 1) {} in StringFactor() 108 StringWeightIterator<L, S> iter(weight_); in Value() 116 void Reset() { done_ = weight_.Size() <= 1; } in Reset() 119 StringWeight<L, S> weight_; 129 : weight_(w), done_(w.Value1().Size() <= 1) {} in GallicFactor() 136 StringFactor<L, S> iter(weight_.Value1()); in Value() 137 GallicWeight<L, W, S> w1(iter.Value().first, weight_.Value2()); in Value() 142 void Reset() { done_ = weight_.Value1().Size() <= 1; } in Reset() 145 GallicWeight<L, W, S> weight_;
|
D | arc-map.h | 976 explicit PlusMapper(Weight w) : weight_(w) {} in PlusMapper() 981 Weight w = Plus(arc.weight, weight_); in operator() 999 Weight weight_; 1010 explicit TimesMapper(Weight w) : weight_(w) {} in TimesMapper() 1015 Weight w = Times(arc.weight, weight_); in operator() 1030 Weight weight_;
|
D | lookahead-matcher.h | 141 : weight_(Weight::One()), in LookAheadMatcherBase() 152 Weight LookAheadWeight() const { return weight_; } in LookAheadWeight() 166 void SetLookAheadWeight(const Weight &w) { weight_ = w; } in SetLookAheadWeight() 177 Weight weight_; // Look-ahead weight variable
|
D | encode.h | 64 Tuple(Label ilabel_, Label olabel_, Weight weight_) in Tuple() 65 : ilabel(ilabel_), olabel(olabel_), weight(weight_) {} in Tuple()
|