Lines Matching refs:weights_
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());
489 data_->AddWeights(s, weights_);
500 if (weights_ == 0) { in Sum()
507 if (weights_->size() <= end) in Sum()
508 for (aiter->Seek(weights_->size() - 1); in Sum()
509 weights_->size() <= end; in Sum()
511 weights_->push_back(LogPlus(weights_->back(), in Sum()
513 return LogPlus(w, LogMinus((*weights_)[end], (*weights_)[begin])); in Sum()
519 if (weights_ != 0) { in LowerBound()
520 return lower_bound(weights_->begin() + 1, in LowerBound()
521 weights_->end(), in LowerBound()
524 - weights_->begin() - 1; in LowerBound()
585 vector<double> *weights_; // Accumulated weights for cur. state variable