SOLA
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
daisi::path_planning::consensus::PaxosContainer Struct Reference

Public Member Functions

 PaxosContainer (std::shared_ptr< sola_ns3::SOLAWrapperNs3 > sola, uint32_t node_id, PaxosSettings settings, std::shared_ptr< PathPlanningLoggerNs3 > logger)
 

Public Attributes

const std::shared_ptr< sola_ns3::SOLAWrapperNs3 > sola {}
 
const uint32_t node_id
 
const PaxosSettings settings
 
std::shared_ptr< PathPlanningLoggerNs3logger
 
std::unordered_map< InstanceID, RequestID > instance_to_promised
 
AcceptedProposal accepted_data_current_instance
 
std::vector< std::vector< IntersectionTimeInfo > > finally_accepted_data
 
IntersectionOccupancy agreed_data
 

Member Data Documentation

◆ accepted_data_current_instance

AcceptedProposal daisi::path_planning::consensus::PaxosContainer::accepted_data_current_instance

The current accepted outstanding data for the latest instance (currently in OK phase)

◆ agreed_data

IntersectionOccupancy daisi::path_planning::consensus::PaxosContainer::agreed_data

Global occupancy of all intersections (same data as in finally_accepted_data) needed to calculate possible start times

◆ finally_accepted_data

std::vector<std::vector<IntersectionTimeInfo> > daisi::path_planning::consensus::PaxosContainer::finally_accepted_data

List of instances with their finally accepted occupant for every intersection

◆ instance_to_promised

std::unordered_map<InstanceID, RequestID> daisi::path_planning::consensus::PaxosContainer::instance_to_promised

map of an instance ID to the currently promised proposal id and station id


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