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

One scheduled event. More...

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

Collaboration diagram for line::ldes::engine::Event:

Public Attributes

double t = 0.0
int kind = EV_ARRIVAL
std::size_t station = 0
std::size_t cls = 0
std::size_t slot = 0
 server slot at a buffered station
std::uint64_t tag = 0
 Identifies the job the event was scheduled for.
Job job
 Delay and PS carry the job in the event.
std::uint64_t seq = 0

Detailed Description

One scheduled event.

Definition at line 153 of file ldes_engine.h.

Member Data Documentation

◆ cls

std::size_t line::ldes::engine::Event::cls = 0

Definition at line 157 of file ldes_engine.h.

◆ job

Job line::ldes::engine::Event::job

Delay and PS carry the job in the event.

Definition at line 169 of file ldes_engine.h.

◆ kind

int line::ldes::engine::Event::kind = EV_ARRIVAL

Definition at line 155 of file ldes_engine.h.

Referenced by line::ldes::engine::EventLater::operator()().

◆ seq

std::uint64_t line::ldes::engine::Event::seq = 0

Definition at line 170 of file ldes_engine.h.

Referenced by line::ldes::engine::EventLater::operator()().

◆ slot

std::size_t line::ldes::engine::Event::slot = 0

server slot at a buffered station

Definition at line 158 of file ldes_engine.h.

◆ station

std::size_t line::ldes::engine::Event::station = 0

Definition at line 156 of file ldes_engine.h.

◆ t

double line::ldes::engine::Event::t = 0.0

Definition at line 154 of file ldes_engine.h.

Referenced by line::ldes::engine::EventLater::operator()().

◆ tag

std::uint64_t line::ldes::engine::Event::tag = 0

Identifies the job the event was scheduled for.

A preempted or resharing job leaves a departure event behind that the event list gives no way to cancel, so every completion carries the tag its job held when it was scheduled and is DISCARDED if the two no longer agree. Without it a preempted job would depart twice: once on its stale event and once on the one its resumption schedules.

Definition at line 168 of file ldes_engine.h.


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