![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
#include <line/api/wfn/wfn_transition.h>
Public Member Functions | |
| const std::string & | name () const |
| std::size_t | index () const |
| 0-based position in WorkflowNet::transitions(). | |
| const lang::Distrib< double > & | distribution () const |
| lang::TimingStrategy | timing () const |
| double | servers () const |
| Concurrent firings allowed; infinite unless the task limits its own concurrency. | |
| double | priority () const |
| double | weight () const |
| long | resource () const |
| 0-based index into WorkflowNet::resources(), or -1 when the task holds none. | |
| bool | is_timed () const |
| bool | is_immediate () const |
| void | set_distribution (const lang::Distrib< double > &d) |
| setDistribution(d). | |
| void | set_timing (lang::TimingStrategy timing) |
| setTiming(t). | |
| void | set_servers (double servers) |
| setServers(n). | |
| void | set_priority (double priority) |
| setPriority(p). | |
| void | set_weight (double weight) |
| setWeight(w). | |
Friends | |
| class | WorkflowNet |
Definition at line 32 of file wfn_transition.h.
|
inline |
Definition at line 37 of file wfn_transition.h.
|
inline |
0-based position in WorkflowNet::transitions().
Definition at line 36 of file wfn_transition.h.
Referenced by WorkflowNet.
|
inline |
Definition at line 47 of file wfn_transition.h.
References line::lang::IMMEDIATE.
|
inline |
Definition at line 46 of file wfn_transition.h.
References line::lang::TIMED.
|
inline |
Definition at line 34 of file wfn_transition.h.
Referenced by WorkflowNet.
|
inline |
Definition at line 41 of file wfn_transition.h.
Referenced by set_priority(), and WorkflowNet.
|
inline |
0-based index into WorkflowNet::resources(), or -1 when the task holds none.
Definition at line 44 of file wfn_transition.h.
|
inline |
Concurrent firings allowed; infinite unless the task limits its own concurrency.
Definition at line 40 of file wfn_transition.h.
Referenced by set_servers(), and WorkflowNet.
|
inline |
setDistribution(d).
Definition at line 50 of file wfn_transition.h.
|
inline |
setPriority(p).
Definition at line 65 of file wfn_transition.h.
References line::ErrorKind::ErrorKind(), line::InputError::InputError(), and priority().
|
inline |
setServers(n).
Definition at line 59 of file wfn_transition.h.
References line::ErrorKind::ErrorKind(), line::InputError::InputError(), and servers().
|
inline |
setTiming(t).
Definition at line 52 of file wfn_transition.h.
References line::ErrorKind::ErrorKind(), line::lang::IMMEDIATE, line::InputError::InputError(), line::lang::TIMED, and timing().
|
inline |
setWeight(w).
Definition at line 70 of file wfn_transition.h.
References line::ErrorKind::ErrorKind(), line::InputError::InputError(), and weight().
|
inline |
Definition at line 38 of file wfn_transition.h.
Referenced by set_timing(), and WorkflowNet.
|
inline |
Definition at line 42 of file wfn_transition.h.
Referenced by set_weight(), and WorkflowNet.
|
friend |
Definition at line 76 of file wfn_transition.h.
References index(), name(), priority(), servers(), timing(), weight(), and WorkflowNet.
Referenced by WorkflowNet.