![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
Setup and delay-off of a station that powers down when it falls idle. More...
#include <line/lang/qn/network_struct.h>
Public Member Functions | |
| bool | last (lang::Distrib< T > &su, lang::Distrib< T > &doff) const |
| The pair the solvers use: the last class that declares one. | |
Public Attributes | |
| std::vector< lang::Distrib< T > > | setup |
| per class, disabled = not declared | |
| std::vector< lang::Distrib< T > > | delayoff |
| per class | |
Setup and delay-off of a station that powers down when it falls idle.
MATLAB Queue.setDelayOff(class, setupTime, delayoffTime), which refreshLocalVars copies into sn.nodeparam{node}{class}. The server starts a delay-off timer when it empties and shuts down when the timer expires; the next arrival to a shut-down server pays the setup time before service.
Stored per class because the reference stores it per class, but every consumer reads ONE pair per station – solver_mam_basic.m takes the LAST class's, so last() below is what a solver should call rather than picking a class itself.
Definition at line 422 of file network_struct.h.
|
inline |
The pair the solvers use: the last class that declares one.
Definition at line 426 of file network_struct.h.
References delayoff, line::qn::Distrib< T >::disabled_dist(), and setup.
| std::vector<lang::Distrib<T> > line::qn::SetupDelayOffParam< T >::delayoff |
per class
Definition at line 424 of file network_struct.h.
Referenced by last(), and line::qn::Network< double >::set_setup_delayoff().
| std::vector<lang::Distrib<T> > line::qn::SetupDelayOffParam< T >::setup |
per class, disabled = not declared
Definition at line 423 of file network_struct.h.
Referenced by last(), and line::qn::Network< double >::set_setup_delayoff().