![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
A rate or weight of a guarded command: a number, a function f(v) of the agent's own variables, or a function f(v, view) that also reads other agents through the joint-state view (a functional rate). More...
#include <line/lang/lal/builder.h>
Public Member Functions | |
| template<class N, typename std::enable_if< std::is_arithmetic< N >::value, int >::type = 0> | |
| CommandValue (N v) | |
| template<class F, typename std::enable_if<!std::is_arithmetic< F >::value &&std::is_invocable_r< double, F, const Vars &, const StateView & >::value, int >::type = 0> | |
| CommandValue (F f) | |
| template<class F, typename std::enable_if<!std::is_arithmetic< F >::value &&!std::is_invocable_r< double, F, const Vars &, const StateView & >::value &&std::is_invocable_r< double, F, const Vars & >::value, int >::type = 0> | |
| CommandValue (F f) | |
Public Attributes | |
| double | constant = 0.0 |
| std::function< double(const Vars &)> | local |
| std::function< double(const Vars &, const StateView &)> | joint |
A rate or weight of a guarded command: a number, a function f(v) of the agent's own variables, or a function f(v, view) that also reads other agents through the joint-state view (a functional rate).
|
inline |
Definition at line 222 of file builder.h.
References constant.
Referenced by line::lal::Agent::command().
| double line::lal::CommandValue::constant = 0.0 |
Definition at line 217 of file builder.h.
Referenced by CommandValue().
Definition at line 219 of file builder.h.
Referenced by CommandValue().
| std::function<double(const Vars&)> line::lal::CommandValue::local |
Definition at line 218 of file builder.h.
Referenced by CommandValue().