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

What one event produces at one node: the successor rows, their rates and their probabilities, all three the same length. More...

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

Collaboration diagram for line::qn::EventOutcome< T >:

Public Member Functions

bool empty () const

Public Attributes

std::vector< std::vector< T > > space
 successor local state rows
std::vector< T > rate
 per-row rate, -1 on a passive half
std::vector< T > prob
 per-row probability of the choice
std::vector< std::vector< std::size_t > > start
 START annotation: the 1-based classes that BEGIN or RESUME holding a server on each successor row.
std::vector< std::vector< std::size_t > > preempt
 PREEMPT annotation: the 1-based classes pushed back into the buffer.

Detailed Description

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

What one event produces at one node: the successor rows, their rates and their probabilities, all three the same length.

Definition at line 53 of file state_events.h.

Member Function Documentation

◆ empty()

template<class T>
bool line::qn::EventOutcome< T >::empty ( ) const
inline

Definition at line 65 of file state_events.h.

References space.

Member Data Documentation

◆ preempt

template<class T>
std::vector<std::vector<std::size_t> > line::qn::EventOutcome< T >::preempt

PREEMPT annotation: the 1-based classes pushed back into the buffer.

Definition at line 64 of file state_events.h.

Referenced by line::qn::pad_tags(), and line::qn::tag_last().

◆ prob

◆ rate

◆ space

◆ start

template<class T>
std::vector<std::vector<std::size_t> > line::qn::EventOutcome< T >::start

START annotation: the 1-based classes that BEGIN or RESUME holding a server on each successor row.

An instantaneous tag on the arc the row already carries, never an event of its own, so no rate, probability or state depends on it. Usually empty; kept as a list so one arc can start several jobs (a region release cascade does).

Definition at line 62 of file state_events.h.

Referenced by line::qn::pad_tags(), and line::qn::tag_last().


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