#include <road_graph.h>
◆ RoadGraph()
apollo::prediction::RoadGraph::RoadGraph |
( |
const double |
start_s, |
|
|
const double |
length, |
|
|
const bool |
consider_divide, |
|
|
std::shared_ptr< const hdmap::LaneInfo > |
lane_info_ptr |
|
) |
| |
Constructor.
- Parameters
-
start_s | The starting longitudinal s value. |
length | The length to build the road graph. |
If | consider all successor lanes after dividing. |
lane_info_ptr | The starting lane. |
◆ BuildLaneGraph()
common::Status apollo::prediction::RoadGraph::BuildLaneGraph |
( |
LaneGraph *const |
lane_graph | ) |
|
Build the lane graph.
- Parameters
-
- Returns
- The status of the road graph building.
◆ BuildLaneGraphBidirection()
common::Status apollo::prediction::RoadGraph::BuildLaneGraphBidirection |
( |
LaneGraph *const |
lane_graph_ptr | ) |
|
◆ IsOnLaneGraph()
bool apollo::prediction::RoadGraph::IsOnLaneGraph |
( |
std::shared_ptr< const hdmap::LaneInfo > |
lane_info_ptr, |
|
|
const LaneGraph & |
lane_graph |
|
) |
| |
Check if a lane with an s is on the lane graph.
- Parameters
-
Lane | ID |
Lane | s |
The | pointer to the given lane graph |
- Returns
- If the given lane ID and lane s is on the lane graph
The documentation for this class was generated from the following file: