![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
One labelled local transition source --(action, value)--> target. More...
#include <line/lang/lal/core.h>
Public Member Functions | |
| bool | functional () const |
| bool | operator== (const Transition &o) const |
| Value equality; two functional values compare equal by kind only (a std::function has no identity). | |
| bool | operator!= (const Transition &o) const |
Public Attributes | |
| std::string | source |
| std::string | action |
| Role | role = Role::Active |
| double | value = 0.0 |
| std::string | target |
| int | priority = 0 |
| std::vector< std::string > | label |
| ValueFn | fn |
| bool | tuple_label = false |
| The label is a TUPLE (python Transition.label given as a tuple), which marks a multi-label event even when it holds a single label: the Workflow embedding labels its moves so. | |
One labelled local transition source --(action, value)--> target.
label is empty for the default label agent.action; one entry is a user alias; several entries credit one firing to each (a multi-label event, which only the embedding of a LINE Workflow creates). fn, when set, makes the value functional and value is then ignored. priority orders immediate actions (and the timed actions of one agent).
|
inline |
|
inline |
|
inline |
| std::string line::lal::Transition::action |
Definition at line 113 of file core.h.
Referenced by line::lal::Agent::action(), line::lal::certificate_support(), line::lal::certify(), line::lal::event_labels(), line::lal::Events::Events(), line::lal::grouped_solve(), line::lal::lower_minimum(), line::lal::embed_detail::lph_agent(), operator==(), line::lal::Events::outgoing(), line::lal::rcat_solve(), line::lal::recognize_map(), line::lal::signature(), line::lal::solve_mdd(), line::lal::solve_reduced(), line::lal::structural_support(), line::lal::transition_label(), line::lal::transition_labels(), and line::lal::validate_model().
| ValueFn line::lal::Transition::fn |
Definition at line 119 of file core.h.
Referenced by functional(), line::lal::model_features(), line::lal::signature(), line::lal::transition_value(), and line::lal::validate_model().
| std::vector<std::string> line::lal::Transition::label |
Definition at line 118 of file core.h.
Referenced by line::lal::Agent::array(), line::lal::embed_detail::lph_agent(), line::lal::model_features(), operator==(), line::lal::signature(), line::lal::transition_label(), and line::lal::transition_labels().
| int line::lal::Transition::priority = 0 |
Definition at line 117 of file core.h.
Referenced by operator==(), line::lal::Events::outgoing(), and line::lal::signature().
| Role line::lal::Transition::role = Role::Active |
Definition at line 114 of file core.h.
Referenced by line::lal::certificate_support(), line::lal::certify(), line::lal::event_labels(), line::lal::Events::Events(), line::lal::grouped_solve(), line::lal::lower_minimum(), line::lal::embed_detail::lph_agent(), line::lal::model_features(), operator==(), line::lal::Events::outgoing(), line::lal::rcat_solve(), line::lal::recognize_jackson(), line::lal::signature(), line::lal::solve_mdd(), line::lal::solve_reduced(), line::lal::structural_support(), and line::lal::validate_model().
| std::string line::lal::Transition::source |
Definition at line 112 of file core.h.
Referenced by line::lal::certificate_support(), line::lal::certify(), line::lal::Events::Events(), line::lal::grouped_solve(), line::lal::lower_minimum(), line::lal::embed_detail::lph_agent(), operator==(), line::lal::rcat_solve(), line::lal::recognize_jackson(), line::lal::recognize_map(), line::lal::signature(), line::lal::solve_mdd(), line::lal::structural_support(), and line::lal::validate_model().
| std::string line::lal::Transition::target |
Definition at line 116 of file core.h.
Referenced by line::lal::certificate_support(), line::lal::certify(), line::lal::grouped_solve(), line::lal::embed_detail::lph_agent(), operator==(), line::lal::Events::outgoing(), line::lal::rcat_solve(), line::lal::recognize_jackson(), line::lal::recognize_map(), line::lal::signature(), line::lal::solve_mdd(), line::lal::structural_support(), and line::lal::validate_model().
| bool line::lal::Transition::tuple_label = false |
The label is a TUPLE (python Transition.label given as a tuple), which marks a multi-label event even when it holds a single label: the Workflow embedding labels its moves so.
Definition at line 125 of file core.h.
Referenced by line::lal::embed_detail::lph_agent(), line::lal::model_features(), and operator==().
| double line::lal::Transition::value = 0.0 |
Definition at line 115 of file core.h.
Referenced by line::lal::certificate_support(), line::lal::certify(), line::lal::grouped_solve(), line::lal::lower_minimum(), line::lal::embed_detail::lph_agent(), operator==(), line::lal::rcat_solve(), line::lal::recognize_map(), line::lal::signature(), line::lal::solve_mdd(), line::lal::structural_support(), line::lal::transition_value(), and line::lal::validate_model().