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

One job held at a detailed station in a snapshot. More...

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

Collaboration diagram for line::ldes::engine::sp::Job:

Public Member Functions

int phase () const
double next_boundary () const
 Epoch at which the current segment ends, +Inf if it is the last.

Public Attributes

std::uint64_t key = 0
std::size_t cls = 0
bool in_service = false
double t0 = 0.0
 Attained amount at time t0 and its rate of growth (1 in wall time, the PS share otherwise).
double att0 = 0.0
double rate = 0.0
ScriptP script
int seg = 0

Detailed Description

One job held at a detailed station in a snapshot.

Definition at line 136 of file ldes_samplepath.h.

Member Function Documentation

◆ next_boundary()

double line::ldes::engine::sp::Job::next_boundary ( ) const
inline

Epoch at which the current segment ends, +Inf if it is the last.

Definition at line 150 of file ldes_samplepath.h.

References att0, in_service, rate, script, seg, and t0.

◆ phase()

int line::ldes::engine::sp::Job::phase ( ) const
inline

Definition at line 147 of file ldes_samplepath.h.

References script, and seg.

Referenced by line::ldes::engine::sp::Tracker::diff().

Member Data Documentation

◆ att0

double line::ldes::engine::sp::Job::att0 = 0.0

Definition at line 142 of file ldes_samplepath.h.

Referenced by next_boundary().

◆ cls

std::size_t line::ldes::engine::sp::Job::cls = 0

Definition at line 138 of file ldes_samplepath.h.

◆ in_service

bool line::ldes::engine::sp::Job::in_service = false

Definition at line 139 of file ldes_samplepath.h.

Referenced by line::ldes::engine::sp::Tracker::diff(), and next_boundary().

◆ key

std::uint64_t line::ldes::engine::sp::Job::key = 0

Definition at line 137 of file ldes_samplepath.h.

◆ rate

double line::ldes::engine::sp::Job::rate = 0.0

Definition at line 143 of file ldes_samplepath.h.

Referenced by next_boundary().

◆ script

ScriptP line::ldes::engine::sp::Job::script

Definition at line 144 of file ldes_samplepath.h.

Referenced by next_boundary(), and phase().

◆ seg

int line::ldes::engine::sp::Job::seg = 0

Definition at line 145 of file ldes_samplepath.h.

Referenced by next_boundary(), and phase().

◆ t0

double line::ldes::engine::sp::Job::t0 = 0.0

Attained amount at time t0 and its rate of growth (1 in wall time, the PS share otherwise).

Definition at line 141 of file ldes_samplepath.h.

Referenced by next_boundary().


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