SOLA
|
Public Member Functions | |
RoundRobinInitiator (daisi::cpps::common::CppsCommunicatorPtr communicator, std::shared_ptr< CppsLoggerNs3 > logger) | |
void | logMaterialFlowContent (const std::string &material_flow_uuid) override |
React on a participant's response to a task assignment. | |
Public Member Functions inherited from daisi::cpps::logical::CentralizedInitiator | |
CentralizedInitiator (daisi::cpps::common::CppsCommunicatorPtr communicator, std::shared_ptr< CppsLoggerNs3 > logger) | |
void | addMaterialFlow (std::shared_ptr< material_flow::MFDLScheduler > scheduler) override |
Receive a new material flow to assign its tasks to the known participants. Push it into material_flows_. | |
Public Member Functions inherited from daisi::cpps::logical::AssignmentInitiator | |
AssignmentInitiator (daisi::cpps::common::CppsCommunicatorPtr communicator, std::shared_ptr< CppsLoggerNs3 > logger) | |
Public Member Functions inherited from daisi::cpps::logical::AlgorithmInterface | |
AlgorithmInterface (daisi::cpps::common::CppsCommunicatorPtr communicator) | |
REGISTER_LOGICAL_MESSAGE (CallForProposal) | |
REGISTER_LOGICAL_MESSAGE (BidSubmission) | |
REGISTER_LOGICAL_MESSAGE (IterationNotification) | |
REGISTER_LOGICAL_MESSAGE (WinnerNotification) | |
REGISTER_LOGICAL_MESSAGE (WinnerResponse) | |
REGISTER_LOGICAL_MESSAGE (AssignmentNotification) | |
REGISTER_LOGICAL_MESSAGE (AssignmentResponse) | |
REGISTER_LOGICAL_MESSAGE (StatusUpdate) | |
REGISTER_LOGICAL_MESSAGE (StatusUpdateRequest) | |
REGISTER_LOGICAL_MESSAGE (MaterialFlowUpdate) | |
Additional Inherited Members | ||
Protected Attributes inherited from daisi::cpps::logical::CentralizedInitiator | ||
std::vector< material_flow::MFDLScheduler > | material_flows_ | |
All material flows that have been received to assign their tasks. | ||
std::vector< AssignmentResponse > | assignment_acceptions_ | |
Responses of task assignments that have been accepted. | ||
struct { | ||
util::Duration wait_to_receive_assignment_response = 0.3 | ||
Delay between assigning a task and expecting a response. | ||
util::Duration wait_to_receive_status_update = 0.3 | ||
Delay between requesting and receiving a status update. | ||
} | delays_ | |
Storing all delays in one place. The unit is seconds. | ||
Protected Attributes inherited from daisi::cpps::logical::AssignmentInitiator | ||
std::shared_ptr< CppsLoggerNs3 > | logger_ | |
For logging material flow tasks and orders. | ||
Protected Attributes inherited from daisi::cpps::logical::AlgorithmInterface | ||
daisi::cpps::common::CppsCommunicatorPtr | communicator_ | |
|
overridevirtual |
React on a participant's response to a task assignment.
Receive a participant's status update. For this basic algorithm, it is simply ignored.
Log tasks and orders of a material flow.
Implements daisi::cpps::logical::AssignmentInitiator.