LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::lal::Events Class Reference

The extended event kernel (events): the ordered labels and the enabled events of a joint state, in the Python iteration order: agents in order (an embedded agent's arcs, a hand agent's immediate events as met and its timed events of the top priority), passive choices in Cartesian-product order, then each minimum synchronisation. More...

#include <line/lang/lal/core.h>

Collaboration diagram for line::lal::Events:

Public Member Functions

 Events (const Model &model)
std::size_t label_index (const std::string &label) const
const Model & model () const
std::vector< Event > outgoing (const std::vector< std::size_t > &state) const
 The enabled events of state (zero-rate events are kept out).

Public Attributes

std::vector< std::string > labels

Detailed Description

The extended event kernel (events): the ordered labels and the enabled events of a joint state, in the Python iteration order: agents in order (an embedded agent's arcs, a hand agent's immediate events as met and its timed events of the top priority), passive choices in Cartesian-product order, then each minimum synchronisation.

The kernel keeps a reference to the model; the model must outlive it.

Definition at line 770 of file core.h.

Constructor & Destructor Documentation

◆ Events()

Member Function Documentation

◆ label_index()

std::size_t line::lal::Events::label_index ( const std::string & label) const
inline

Definition at line 832 of file core.h.

References line::lal::value_error().

◆ model()

const Model & line::lal::Events::model ( ) const
inline

Definition at line 838 of file core.h.

Referenced by Events().

◆ outgoing()

Member Data Documentation

◆ labels

std::vector<std::string> line::lal::Events::labels

Definition at line 830 of file core.h.

Referenced by line::lal::compile_model(), and Events().


The documentation for this class was generated from the following file:
  • include/line/lang/lal/core.h