![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
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>
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 |
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.
|
inlineexplicit |
Definition at line 772 of file core.h.
References line::lal::Transition::action, line::lal::MinSync::active, line::lal::ExtSync::agent, line::lal::Model::agent(), line::lal::Model::agents, line::lal::endpoint_repr(), line::lal::event_labels(), line::lal::Model::ext_syncs, line::lal::Model::index_of(), labels, line::lal::Model::min_syncs, model(), line::lal::AgentRecord::name, line::lal::Passive, line::lal::ExtSync::passive, line::lal::MinSync::passive, line::lal::ExtSync::pattern, line::lal::Transition::role, line::lal::Transition::source, line::lal::Model::syncs, line::lal::transition_label(), line::lal::transition_labels(), line::lal::AgentRecord::transitions, line::lal::validate_model(), and line::lal::value_error().
|
inline |
Definition at line 832 of file core.h.
References line::lal::value_error().
|
inline |
|
inline |
The enabled events of state (zero-rate events are kept out).
Definition at line 841 of file core.h.
References line::lal::Transition::action, line::lal::Active, line::lal::MinSync::active, line::lal::AgentRecord::embedded, line::lal::Immediate, line::lal::Event::immediate, line::lal::NodeEvent::label(), line::lal::Event::labels, line::lal::EmbeddedPart::matches(), line::lal::AgentRecord::name, line::lal::EmbeddedPart::outgoing(), line::lal::Passive, line::lal::MinSync::passive, line::lal::Event::priority, line::lal::Transition::priority, line::lal::Event::rate, line::lal::Transition::role, line::lal::AgentRecord::state_index(), line::lal::Event::target, line::lal::Transition::target, line::lal::transition_value(), and line::lal::AgentRecord::transitions.
Referenced by line::lal::compile_model().
| std::vector<std::string> line::lal::Events::labels |
Definition at line 830 of file core.h.
Referenced by line::lal::compile_model(), and Events().