![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
#include <line/opt/results.h>
Public Member Functions | |
| void | set_response_time (const std::string &s, const std::string &c, double v) |
| void | set_throughput (const std::string &s, const std::string &c, double v) |
| void | set_queue_length (const std::string &s, const std::string &c, double v) |
| double | response_time (const std::string &s, const std::string &c="") const |
| double | throughput (const std::string &s, const std::string &c="") const |
| double | queue_length (const std::string &s, const std::string &c="") const |
| double | utilization (const std::string &s) const |
| double | system_response_time (const std::string &c="") const |
| double | system_throughput (const std::string &c="") const |
Static Public Member Functions | |
| static double | exact (const std::map< std::string, double > &m, const std::string &k, double d) |
| static double | aggregate (const std::map< std::string, double > &m, const std::string &s, bool mean, double d) |
Public Attributes | |
| bool | feasible = true |
| std::map< std::string, double > | response_times |
| std::map< std::string, double > | throughputs |
| std::map< std::string, double > | queue_lengths |
| std::map< std::string, double > | utilizations |
| std::map< std::string, double > | system_response_times |
| std::map< std::string, double > | system_throughputs |
| double | solve_time = 0.0 |
| std::string | solver_used |
| std::shared_ptr< SensitivityData > | sensitivities |
|
inlinestatic |
Definition at line 80 of file results.h.
Referenced by queue_length(), response_time(), and throughput().
|
inlinestatic |
Definition at line 79 of file results.h.
Referenced by queue_length(), response_time(), system_response_time(), system_throughput(), throughput(), and utilization().
|
inline |
Definition at line 87 of file results.h.
References aggregate(), exact(), line::opt::metric_key(), and queue_lengths.
Referenced by line::opt::MaximizePerformance::evaluate().
|
inline |
Definition at line 85 of file results.h.
References aggregate(), exact(), line::opt::metric_key(), and response_times.
Referenced by line::opt::MaximizePerformance::evaluate(), and line::opt::ResponseTimeConstraint::evaluate().
|
inline |
Definition at line 78 of file results.h.
References line::opt::metric_key(), and queue_lengths.
|
inline |
Definition at line 76 of file results.h.
References line::opt::metric_key(), and response_times.
|
inline |
Definition at line 77 of file results.h.
References line::opt::metric_key(), and throughputs.
|
inline |
Definition at line 89 of file results.h.
References exact(), system_response_times, and system_throughputs.
Referenced by line::opt::MinimizeSystemResponseTime::evaluate(), and line::opt::SystemResponseTimeConstraint::evaluate().
|
inline |
Definition at line 95 of file results.h.
References exact(), and system_throughputs.
|
inline |
Definition at line 86 of file results.h.
References aggregate(), exact(), line::opt::metric_key(), and throughputs.
Referenced by line::opt::MaximizePerformance::evaluate(), and line::opt::ThroughputConstraint::evaluate().
|
inline |
Definition at line 88 of file results.h.
References exact(), and utilizations.
Referenced by line::opt::UtilizationConstraint::evaluate().
| bool line::opt::EvaluationResult::feasible = true |
Definition at line 69 of file results.h.
Referenced by line::opt::LineEvaluator::evaluate().
| std::map<std::string,double> line::opt::EvaluationResult::queue_lengths |
Definition at line 70 of file results.h.
Referenced by queue_length(), and set_queue_length().
| std::map<std::string,double> line::opt::EvaluationResult::response_times |
Definition at line 70 of file results.h.
Referenced by response_time(), and set_response_time().
| std::shared_ptr<SensitivityData> line::opt::EvaluationResult::sensitivities |
| double line::opt::EvaluationResult::solve_time = 0.0 |
Definition at line 72 of file results.h.
Referenced by line::opt::LineEvaluator::evaluate().
| std::map<std::string,double> line::opt::EvaluationResult::system_response_times |
Definition at line 71 of file results.h.
Referenced by system_response_time().
| std::map<std::string,double> line::opt::EvaluationResult::system_throughputs |
Definition at line 71 of file results.h.
Referenced by system_response_time(), and system_throughput().
| std::map<std::string,double> line::opt::EvaluationResult::throughputs |
Definition at line 70 of file results.h.
Referenced by line::opt::MaximizePerformance::evaluate(), set_throughput(), and throughput().
| std::map<std::string,double> line::opt::EvaluationResult::utilizations |
Definition at line 70 of file results.h.
Referenced by utilization().