![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
#include <line/opt/objectives.h>
Public Member Functions | |
| Constraint (std::string n="") | |
| virtual | ~Constraint ()=default |
| virtual double | evaluate (const EvaluationResult &, const VariableValues &) const =0 |
| virtual std::string | generated_name () const =0 |
| std::string | name () const |
| bool | satisfied (const EvaluationResult &r, const VariableValues &v, double t=1e-6) const |
Static Protected Member Functions | |
| static double | upper (double a, double b) |
| static double | lower (double a, double b) |
Protected Attributes | |
| std::string | name_ |
Definition at line 33 of file objectives.h.
|
inlineexplicit |
Definition at line 33 of file objectives.h.
References Constraint(), evaluate(), generated_name(), lower(), name(), name_, satisfied(), and upper().
Referenced by line::opt::BudgetConstraint::BudgetConstraint(), Constraint(), line::opt::ResponseTimeConstraint::evaluate(), line::opt::SystemResponseTimeConstraint::evaluate(), line::opt::ThroughputConstraint::evaluate(), and line::opt::UtilizationConstraint::evaluate().
|
default |
|
pure virtual |
Implemented in line::opt::BudgetConstraint, line::opt::ResponseTimeConstraint, line::opt::SystemResponseTimeConstraint, line::opt::ThroughputConstraint, and line::opt::UtilizationConstraint.
Referenced by Constraint().
|
pure virtual |
Implemented in line::opt::BudgetConstraint, line::opt::ResponseTimeConstraint, line::opt::SystemResponseTimeConstraint, line::opt::ThroughputConstraint, and line::opt::UtilizationConstraint.
Referenced by Constraint().
|
inlinestaticprotected |
Definition at line 33 of file objectives.h.
Referenced by Constraint(), and line::opt::ThroughputConstraint::evaluate().
|
inline |
Definition at line 33 of file objectives.h.
Referenced by Constraint().
|
inline |
Definition at line 33 of file objectives.h.
Referenced by Constraint().
|
inlinestaticprotected |
Definition at line 33 of file objectives.h.
Referenced by Constraint(), line::opt::ResponseTimeConstraint::evaluate(), line::opt::SystemResponseTimeConstraint::evaluate(), and line::opt::UtilizationConstraint::evaluate().
|
protected |
Definition at line 33 of file objectives.h.
Referenced by Constraint().