![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
Phase script of one drawn interval: segment j ends at cum[j] and is spent in ph[j] (0-based). More...
#include <line/solvers/ldes/ldes_samplepath.h>
Public Member Functions | |
| int | seg_at (double a, int from) const |
| Segment holding attained amount a, never below from. | |
Static Public Member Functions | |
| static std::shared_ptr< Script > | single (double total) |
Public Attributes | |
| std::vector< double > | cum |
| std::vector< int > | ph |
Phase script of one drawn interval: segment j ends at cum[j] and is spent in ph[j] (0-based).
Definition at line 114 of file ldes_samplepath.h.
|
inline |
Segment holding attained amount a, never below from.
Definition at line 126 of file ldes_samplepath.h.
References cum.
|
inlinestatic |
Definition at line 118 of file ldes_samplepath.h.
Referenced by line::ldes::engine::sp::Tracker::bind(), and line::ldes::engine::sp::Tracker::script_of().
| std::vector<double> line::ldes::engine::sp::Script::cum |
Definition at line 115 of file ldes_samplepath.h.
Referenced by line::ldes::engine::sp::Tracker::bind(), and seg_at().
| std::vector<int> line::ldes::engine::sp::Script::ph |
Definition at line 116 of file ldes_samplepath.h.