|
BPMN-OS
BPMN for optimization and simulation
|
Represents the event of a token exiting a node. More...
Transition from State::COMPLETION to State::DONE or State::DEPARTED
Definition at line 16 of file ExitDecision.h.
#include <ExitDecision.h>
Public Member Functions | |
| ExitDecision (const Token *token, Evaluator *evaluator) | |
| std::optional< double > | evaluate () override |
| Evaluates the reward for the decision. Returns null if decision is infeasible. | |
| nlohmann::ordered_json | jsonify () const override |
Public Member Functions inherited from BPMNOS::Execution::ExitEvent | |
| ExitEvent (const Token *token, std::optional< Values > exitStatus=std::nullopt) | |
| void | processBy (Engine *engine) const override |
| nlohmann::ordered_json | jsonify () const override |
Public Member Functions inherited from BPMNOS::Execution::Event | |
| constexpr Type | getObservableType () const override |
| Event (const Token *token) | |
| virtual | ~Event ()=default |
| template<typename T > | |
| const T * | is () const |
| Returns a pointer of type T of the Event. | |
Public Member Functions inherited from BPMNOS::Execution::Observable | |
| ~Observable () | |
Public Member Functions inherited from BPMNOS::Execution::Decision | |
| Decision (Evaluator *evaluator) | |
Additional Inherited Members | |
Public Types inherited from BPMNOS::Execution::Observable | |
| enum class | Type { Token , Message , SequentialPerformerUpdate , Event , DataUpdate , EntryRequest , ChoiceRequest , ExitRequest , MessageDeliveryRequest , Count } |
Public Attributes inherited from BPMNOS::Execution::ExitEvent | |
| std::optional< Values > | exitStatus |
Public Attributes inherited from BPMNOS::Execution::Event | |
| const Token * | token |
Public Attributes inherited from BPMNOS::Execution::Decision | |
| std::optional< double > | evaluation |
| Latest evaluation or null if decision has not been evaluated or evaluation is no longer valid. | |
| bool | timeDependent |
| std::set< const BPMNOS::Model::Attribute * > | dataDependencies |
Protected Member Functions inherited from BPMNOS::Execution::Decision | |
| void | determineDependencies (const std::set< const BPMNOS::Model::Attribute * > &dependencies) |
Protected Attributes inherited from BPMNOS::Execution::Decision | |
| Evaluator * | evaluator |
Definition at line 7 of file ExitDecision.cpp.
|
overridevirtual |
Implements BPMNOS::Execution::Decision.
Definition at line 15 of file ExitDecision.cpp.
|
overridevirtual |
Implements BPMNOS::Execution::Event.
Definition at line 20 of file ExitDecision.cpp.