LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::ldes::engine::WaitCmp Struct Reference

The waiting-room order of a buffered discipline. More...

#include <line/solvers/ldes/ldes_station.h>

Collaboration diagram for line::ldes::engine::WaitCmp:

Public Member Functions

bool operator() (const Job &a, const Job &b) const

Public Attributes

lang::SchedStrategy sched = lang::SchedStrategy::FCFS
const std::vector< double > * class_mean = 0
 mean service per class, for SEPT/LEPT

Detailed Description

The waiting-room order of a buffered discipline.

Used as a std::priority_queue comparator, which pops the GREATEST element, so every rule below is inverted relative to the reference's Comparator (which orders ascending and polls the least). Getting that backwards turns FCFS into LCFS silently – both run, both conserve jobs, and only the response-time variance tells them apart.

Definition at line 202 of file ldes_station.h.

Member Function Documentation

◆ operator()()

Member Data Documentation

◆ class_mean

const std::vector<double>* line::ldes::engine::WaitCmp::class_mean = 0

mean service per class, for SEPT/LEPT

Definition at line 204 of file ldes_station.h.

◆ sched

lang::SchedStrategy line::ldes::engine::WaitCmp::sched = lang::SchedStrategy::FCFS

Definition at line 203 of file ldes_station.h.

Referenced by operator()().


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