LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::qn::PrioPop< T > Struct Template Reference

The population the *PRIO disciplines actually share the server among. More...

#include <line/lang/qn/state_events.h>

Public Attributes

std::vector< T > nir
 nirprio when masked, the plain marginal otherwise
double ni = 0
 niprio when masked, the plain total otherwise
bool masked = false
 whether the saturated-station mask was applied
bool served = true
 false when cls is not in the most urgent group

Detailed Description

template<class T>
struct line::qn::PrioPop< T >

The population the *PRIO disciplines actually share the server among.

While every job fits in a server nobody is waiting and precedence is moot, so this is the plain marginal. Once the station saturates only the MOST URGENT group present is served (a LOWER classprio value is more urgent in LINE), and both the share and the load-dependent lookup are taken over that group alone – nirprio / niprio in State.afterEventStation.

Definition at line 845 of file state_events.h.

Member Data Documentation

◆ masked

template<class T>
bool line::qn::PrioPop< T >::masked = false

whether the saturated-station mask was applied

Definition at line 848 of file state_events.h.

Referenced by line::qn::after_event_station_dep(), and line::qn::prio_pop().

◆ ni

template<class T>
double line::qn::PrioPop< T >::ni = 0

niprio when masked, the plain total otherwise

Definition at line 847 of file state_events.h.

Referenced by line::qn::after_event_station_dep(), line::qn::prio_pop(), and line::qn::service_share().

◆ nir

template<class T>
std::vector<T> line::qn::PrioPop< T >::nir

nirprio when masked, the plain marginal otherwise

Definition at line 846 of file state_events.h.

Referenced by line::qn::after_event_station_dep(), line::qn::prio_pop(), and line::qn::service_share().

◆ served

template<class T>
bool line::qn::PrioPop< T >::served = true

false when cls is not in the most urgent group

Definition at line 849 of file state_events.h.

Referenced by line::qn::prio_pop(), and line::qn::service_share().


The documentation for this struct was generated from the following file: