13 #include <unordered_map> 14 #include <unordered_set> 43 incoming_road(incoming_road),
44 connecting_road(connecting_road),
60 return &search->second;
101 std::unordered_map<RoadId, std::unordered_set<RoadId>>
carla::geom::BoundingBox GetBoundingBox() const
void AddLaneLink(LaneId from, LaneId to)
std::vector< LaneLink > lane_links
const std::set< ContId > & GetControllers() const
This file contains definitions of common data structures used in traffic manager. ...
std::unordered_map< RoadId, std::unordered_set< RoadId > > _road_conflicts
Inherit (privately) to suppress copy construction and assignment.
Connection(ConId id, RoadId incoming_road, RoadId connecting_road)
std::unordered_map< ConId, Connection > GetConnections() const
bool RoadHasConflicts(RoadId road_id) const
std::unordered_map< ConId, Connection > _connections
const std::unordered_set< RoadId > & GetConflictsOfRoad(RoadId road_id) const
Junction(const JuncId id, const std::string name)
std::unordered_map< ConId, Connection > & GetConnections()
std::set< ContId > _controllers
Connection * GetConnection(ConId id)
carla::geom::BoundingBox _bounding_box