![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
#include <line/inference/param_estimator.h>
Public Types | |
| using | Samples = std::vector<std::vector<std::vector<SampledMetric>>> |
| using | AggregateSamples = std::vector<std::vector<SampledMetric>> |
| using | Estimator |
Public Member Functions | |
| ParamEstimator (qn::Network< double > &model, const EstimatorOptions &options=EstimatorOptions()) | |
| void | add_samples (const SampledMetric &sample) |
| Samples & | get_data () |
| const Samples & | get_data () const |
| AggregateSamples & | get_data_aggr () |
| const AggregateSamples & | get_data_aggr () const |
| SampledMetric * | get_arvr (std::size_t node, std::size_t jobclass) |
| SampledMetric * | get_util (std::size_t node, std::size_t jobclass) |
| SampledMetric * | get_respt (std::size_t node, std::size_t jobclass) |
| SampledMetric * | get_tput (std::size_t node, std::size_t jobclass) |
| SampledMetric * | get_aggr_util (std::size_t node) |
| SampledMetric * | get_aggr_qlen (std::size_t node, const ConditionEvent *event=nullptr) |
| std::vector< SampledMetric * > | get_qlen (std::size_t node, std::size_t jobclass, const ConditionEvent *event=nullptr) |
| std::string | auto_method () |
| void | interpolate () |
| void | register_estimator (const std::string &method, const Estimator &estimator) |
| bool | has_estimator (const std::string &method) const |
| Matrix< double > | estimate_at (const std::vector< std::size_t > &nodes) |
Static Public Member Functions | |
| static EstimatorOptions | default_options () |
| static std::string | get_required_metrics (const std::string &method) |
Public Attributes | |
| EstimatorOptions | options |
| Samples | samples |
| AggregateSamples | samples_aggr |
Definition at line 270 of file param_estimator.h.
| using line::infer::ParamEstimator::AggregateSamples = std::vector<std::vector<SampledMetric>> |
Definition at line 273 of file param_estimator.h.
Definition at line 274 of file param_estimator.h.
| using line::infer::ParamEstimator::Samples = std::vector<std::vector<std::vector<SampledMetric>>> |
Definition at line 272 of file param_estimator.h.
|
inlineexplicit |
Definition at line 277 of file param_estimator.h.
References options, ParamEstimator(), register_estimator(), samples, and samples_aggr.
Referenced by ParamEstimator().
|
inline |
Definition at line 323 of file param_estimator.h.
References line::infer::SampledMetric::is_aggregate(), line::infer::SampledMetric::jobclass, line::infer::SampledMetric::node, samples, and samples_aggr.
|
inline |
Definition at line 372 of file param_estimator.h.
References line::lang::ArvR, line::InputError::InputError(), line::infer::EstimatorOptions::method, options, line::lang::QLen, line::lang::RespT, samples, samples_aggr, line::lang::Tput, and line::lang::Util.
|
inlinestatic |
Definition at line 487 of file param_estimator.h.
|
inline |
Definition at line 430 of file param_estimator.h.
References line::lang::APH, line::Matrix< T >::cols(), line::lang::COX2, line::lang::COXIAN, line::lang::Distrib< T >::disabled, line::lang::dist_scale_rate(), line::lang::ERLANG, line::lang::EXP, line::lang::Distrib< T >::exp_mean(), line::lang::HYPEREXP, line::lang::IMMEDIATE, line::InputError::InputError(), line::lang::MAP, line::lang::Distrib< T >::mean, line::infer::EstimatorOptions::method, line::lang::MMPP2, options, line::lang::PH, line::lang::process_to_text(), line::Matrix< T >::rows(), line::Matrix< T >::size(), line::lang::Source, line::lang::Distrib< T >::type, and line::UnsupportedError::UnsupportedError().
|
inline |
Definition at line 353 of file param_estimator.h.
References line::lang::QLen.
|
inline |
Definition at line 350 of file param_estimator.h.
References line::lang::Util.
|
inline |
Definition at line 338 of file param_estimator.h.
References line::lang::ArvR.
|
inline |
Definition at line 333 of file param_estimator.h.
References samples.
|
inline |
Definition at line 334 of file param_estimator.h.
References samples.
|
inline |
Definition at line 335 of file param_estimator.h.
References samples_aggr.
|
inline |
Definition at line 336 of file param_estimator.h.
References samples_aggr.
|
inline |
Definition at line 357 of file param_estimator.h.
References line::lang::QLen, and samples.
|
inlinestatic |
Definition at line 489 of file param_estimator.h.
|
inline |
Definition at line 344 of file param_estimator.h.
References line::lang::RespT.
|
inline |
Definition at line 347 of file param_estimator.h.
References line::lang::Tput.
|
inline |
Definition at line 341 of file param_estimator.h.
References line::lang::Util.
|
inline |
Definition at line 426 of file param_estimator.h.
|
inline |
Definition at line 409 of file param_estimator.h.
References line::infer::SampledMetric::data, and line::infer::SampledMetric::t.
|
inline |
Definition at line 422 of file param_estimator.h.
Referenced by ParamEstimator().
| EstimatorOptions line::infer::ParamEstimator::options |
Definition at line 319 of file param_estimator.h.
Referenced by auto_method(), estimate_at(), and ParamEstimator().
| Samples line::infer::ParamEstimator::samples |
Definition at line 320 of file param_estimator.h.
Referenced by add_samples(), auto_method(), get_data(), get_data(), get_qlen(), and ParamEstimator().
| AggregateSamples line::infer::ParamEstimator::samples_aggr |
Definition at line 321 of file param_estimator.h.
Referenced by add_samples(), auto_method(), get_data_aggr(), get_data_aggr(), and ParamEstimator().