SOLA
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
daisi::cpps::logical::AssignmentInitiator Class Referenceabstract

Algorithm for assigning tasks from a material flow to fitting AMRs. This algorithm is initiating and coordinating the procedure. There always must be a corresponding derived class from AssignmentParticipant. More...

#include <assignment_initiator.h>

Inheritance diagram for daisi::cpps::logical::AssignmentInitiator:
daisi::cpps::logical::AlgorithmInterface daisi::cpps::logical::CentralizedInitiator daisi::cpps::logical::IteratedAuctionAssignmentInitiator daisi::cpps::logical::RoundRobinInitiator

Public Member Functions

 AssignmentInitiator (daisi::cpps::common::CppsCommunicatorPtr communicator, std::shared_ptr< CppsLoggerNs3 > logger)
 
virtual void addMaterialFlow (std::shared_ptr< material_flow::MFDLScheduler > scheduler)=0
 Adding a material flow whose tasks should be allocated.
 
virtual void logMaterialFlowContent (const std::string &material_flow_uuid)=0
 
- 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)
 

Protected Attributes

std::shared_ptr< CppsLoggerNs3logger_
 For logging material flow tasks and orders.
 
- Protected Attributes inherited from daisi::cpps::logical::AlgorithmInterface
daisi::cpps::common::CppsCommunicatorPtr communicator_
 

Detailed Description

Algorithm for assigning tasks from a material flow to fitting AMRs. This algorithm is initiating and coordinating the procedure. There always must be a corresponding derived class from AssignmentParticipant.

Member Function Documentation

◆ addMaterialFlow()

virtual void daisi::cpps::logical::AssignmentInitiator::addMaterialFlow ( std::shared_ptr< material_flow::MFDLScheduler scheduler)
pure virtual

Adding a material flow whose tasks should be allocated.

Parameters
schedulerMFDL Scheduler

Implemented in daisi::cpps::logical::CentralizedInitiator, and daisi::cpps::logical::IteratedAuctionAssignmentInitiator.

◆ logMaterialFlowContent()

virtual void daisi::cpps::logical::AssignmentInitiator::logMaterialFlowContent ( const std::string &  material_flow_uuid)
pure virtual

The documentation for this class was generated from the following file: