BPMN-OS
BPMN for optimization and simulation
Loading...
Searching...
No Matches
GreedyController.h
Go to the documentation of this file.
1#ifndef BPMNOS_Execution_GreedyController_H
2#define BPMNOS_Execution_GreedyController_H
3
4#include <bpmn++.h>
5#include "Controller.h"
6#include "Evaluator.h"
8
9namespace BPMNOS::Execution {
10
11/**
12 * @brief A controller dispatching the best evaluated decisions
13 */
15public:
17 void connect(Mediator* mediator);
18 std::vector< std::unique_ptr<EventDispatcher> > eventDispatchers;
19protected:
21 std::shared_ptr<Event> dispatchEvent(const SystemState* systemState);
22};
23
24} // namespace BPMNOS::Execution
25
26#endif // BPMNOS_Execution_GreedyController_H
27
Base class for an execution controller which dispatches events to the engine and listens to notificat...
Definition Controller.h:15
Represents an abstract base class for a pending Evaluator.
Definition Evaluator.h:15
A controller dispatching the best evaluated decisions.
std::vector< std::unique_ptr< EventDispatcher > > eventDispatchers
std::shared_ptr< Event > dispatchEvent(const SystemState *systemState)
A class representing the state that the execution or simulation of a given scenario is in.
Definition SystemState.h:21
Represents an abstract base class for a class that is an event listener and notifier.
Definition Mediator.h:13