|
BPMN-OS
BPMN for optimization and simulation
|
A controller dispatching the best evaluated decisions. More...
Definition at line 14 of file GreedyController.h.
#include <GreedyController.h>
Public Member Functions | |
| GreedyController (Evaluator *evaluator) | |
| void | connect (Mediator *mediator) |
Public Member Functions inherited from BPMNOS::Execution::Controller | |
| Controller () | |
| virtual | ~Controller ()=default |
| void | notice (const Observable *observable) override |
Public Member Functions inherited from BPMNOS::Execution::Observer | |
Public Member Functions inherited from BPMNOS::Execution::EventDispatcher | |
| virtual | ~EventDispatcher ()=default |
| virtual void | notice (Event *event) |
Public Member Functions inherited from BPMNOS::Execution::EventListener | |
| void | subscribe (EventDispatcher *eventDispatcher) |
Public Member Functions inherited from BPMNOS::Execution::Notifier | |
| Notifier () | |
| virtual | ~Notifier ()=default |
| template<typename... ObservableTypes> | |
| void | addSubscriber (Observer *subscriber, ObservableTypes... observableTypes) |
| void | notify (const Observable *observable) const |
| void | notify (const Observable &observable) const |
Public Attributes | |
| std::vector< std::unique_ptr< EventDispatcher > > | eventDispatchers |
Protected Member Functions | |
| std::shared_ptr< Event > | dispatchEvent (const SystemState *systemState) |
Protected Member Functions inherited from BPMNOS::Execution::EventListener | |
| std::shared_ptr< Event > | fetchEvent (SystemState *systemState) |
Protected Attributes | |
| Evaluator * | evaluator |
Protected Attributes inherited from BPMNOS::Execution::EventListener | |
| std::vector< EventDispatcher * > | eventDispatchers |
| GreedyController::GreedyController | ( | Evaluator * | evaluator | ) |
Definition at line 12 of file GreedyController.cpp.
|
virtual |
Reimplemented from BPMNOS::Execution::Controller.
Definition at line 22 of file GreedyController.cpp.
|
protectedvirtual |
Implements BPMNOS::Execution::EventDispatcher.
Definition at line 29 of file GreedyController.cpp.
|
protected |
Definition at line 20 of file GreedyController.h.
| std::vector< std::unique_ptr<EventDispatcher> > BPMNOS::Execution::GreedyController::eventDispatchers |
Definition at line 18 of file GreedyController.h.