Searched refs:linear_model_instance_ (Results 1 – 2 of 2) sorted by relevance
203 linear_model_instance_ = std::make_unique<VtEstimatorLinearModelData>(); in VirtualTempEstimator()214 if (linear_model_instance_ == nullptr || common_instance_ == nullptr) { in LinearModelInitialize()220 std::unique_lock<std::mutex> lock(linear_model_instance_->mutex); in LinearModelInitialize()240 linear_model_instance_->input_samples.reserve(common_instance_->prev_samples_order); in LinearModelInitialize()241 linear_model_instance_->coefficients.reserve(common_instance_->prev_samples_order); in LinearModelInitialize()249 linear_model_instance_->coefficients.emplace_back(single_order_coefficients); in LinearModelInitialize()361 if (linear_model_instance_ == nullptr || common_instance_ == nullptr) { in LinearModelEstimate()369 std::unique_lock<std::mutex> lock(linear_model_instance_->mutex); in LinearModelEstimate()387 linear_model_instance_->input_samples[i] = thermistors; in LinearModelEstimate()392 linear_model_instance_->input_samples[cur_sample_index] = thermistors; in LinearModelEstimate()[all …]
117 std::unique_ptr<VtEstimatorLinearModelData> linear_model_instance_; variable