Searched refs:accumulator_ (Results 1 – 2 of 2) sorted by relevance
157 accumulator_(s ? s : new S()), in fst_()171 accumulator_(s ? s : new S()),182 accumulator_(new S(*reachable.accumulator_)), in LabelReachable()192 delete accumulator_; in ~LabelReachable() local265 accumulator_->SetState(aiter_s);266 if (accumulator_->Error()) error_ = true;292 accumulator_->Init(fst, copy);293 if (accumulator_->Error()) error_ = true;343 reach_weight_ = accumulator_->Sum(reach_weight_, arcb.weight); in Reach()350 reach_weight_ = accumulator_->Sum(reach_weight_, arc.weight); in Reach()[all …]
248 accumulator_(new C()) { in fst_()249 accumulator_->Init(fst); in fst_()257 accumulator_ = new C();258 accumulator_->Init(*fst);260 accumulator_ = new C(*sampler.accumulator_);265 delete accumulator_; in ~ArcSampler() local278 ++sample_map_[arc_selector_(fst_, rstate.state_id, accumulator_)]; in Sample()288 bool Error() const { return accumulator_->Error(); } in Error()298 C *accumulator_; variable