Searched refs:weights_ (Results 1 – 2 of 2) sorted by relevance
135 vector<double> *Weights() { return &weights_; } in Weights()137 double *WeightEnd() { return &(weights_[weights_.size() - 1]); }; in WeightEnd()146 vector<double> weights_;473 weights_ = 0;480 weights_ = 0;484 weights_ = data_->GetWeights(s);485 if ((weights_ == 0) && (fst_->NumArcs(s) >= arc_limit_)) {486 weights_ = new vector<double>;487 weights_->reserve(fst_->NumArcs(s) + 1);488 weights_->push_back(FloatLimits<double>::PosInfinity());[all …]
283 : weights_(weights), less_(less) {} in StateWeightCompare()286 return less_(weights_[x], weights_[y]); in operator()290 const vector<Weight>& weights_;754 : weights_(weights), less_(less), estimate_(estimate) {} in AStarWeightCompare()757 Weight wx = Times(weights_[x], estimate_(x)); in operator()758 Weight wy = Times(weights_[y], estimate_(y)); in operator()763 const vector<Weight>& weights_;