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 57 of file state_events.h.

Member Function Documentation

◆ empty()

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

Definition at line 69 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

◆ 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 66 of file state_events.h.

Referenced by line::qn::after_event_attempts(), line::qn::after_event_parallel(), line::qn::after_event_setup(), line::qn::apply_station_orbital_search(), line::qn::pad_tags(), line::qn::blocks_events::push(), and line::qn::tag_last().


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