![]() |
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 272 of file param_estimator.h.
| using line::infer::ParamEstimator::AggregateSamples = std::vector<std::vector<SampledMetric>> |
Definition at line 275 of file param_estimator.h.
Definition at line 276 of file param_estimator.h.
| using line::infer::ParamEstimator::Samples = std::vector<std::vector<std::vector<SampledMetric>>> |
Definition at line 274 of file param_estimator.h.
|
inlineexplicit |
Definition at line 279 of file param_estimator.h.
References options, ParamEstimator(), register_estimator(), samples, and samples_aggr.
Referenced by ParamEstimator().
|
inline |
Definition at line 325 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 374 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 489 of file param_estimator.h.
|
inline |
Definition at line 432 of file param_estimator.h.
References line::lang::APH, 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 >::size(), line::lang::Source, line::lang::Distrib< T >::type, and line::UnsupportedError::UnsupportedError().
|
inline |
Definition at line 355 of file param_estimator.h.
References line::lang::QLen.
|
inline |
Definition at line 352 of file param_estimator.h.
References line::lang::Util.
|
inline |
Definition at line 340 of file param_estimator.h.
References line::lang::ArvR.
|
inline |
Definition at line 335 of file param_estimator.h.
References samples.
|
inline |
Definition at line 336 of file param_estimator.h.
References samples.
|
inline |
Definition at line 337 of file param_estimator.h.
References samples_aggr.
|
inline |
Definition at line 338 of file param_estimator.h.
References samples_aggr.
|
inline |
Definition at line 359 of file param_estimator.h.
References line::lang::QLen, and samples.
|
inlinestatic |
Definition at line 491 of file param_estimator.h.
|
inline |
Definition at line 346 of file param_estimator.h.
References line::lang::RespT.
|
inline |
Definition at line 349 of file param_estimator.h.
References line::lang::Tput.
|
inline |
Definition at line 343 of file param_estimator.h.
References line::lang::Util.
|
inline |
Definition at line 428 of file param_estimator.h.
|
inline |
Definition at line 411 of file param_estimator.h.
References line::infer::SampledMetric::data, and line::infer::SampledMetric::t.
|
inline |
Definition at line 424 of file param_estimator.h.
Referenced by ParamEstimator().
| EstimatorOptions line::infer::ParamEstimator::options |
Definition at line 321 of file param_estimator.h.
Referenced by auto_method(), estimate_at(), and ParamEstimator().
| Samples line::infer::ParamEstimator::samples |
Definition at line 322 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 323 of file param_estimator.h.
Referenced by add_samples(), auto_method(), get_data_aggr(), get_data_aggr(), and ParamEstimator().