Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
apollo::prediction::JunctionAnalyzer Class Reference

#include <junction_analyzer.h>

Collaboration diagram for apollo::prediction::JunctionAnalyzer:
Collaboration graph

Public Member Functions

void Init (const std::string &junction_id)
 Initialize by junction ID, if junction id differs from prev cycle. More...
 
void Clear ()
 Clear all stored data. More...
 
const std::string & GetJunctionId ()
 Get junction ID. More...
 
double ComputeJunctionRange ()
 Compute junction range. More...
 
const JunctionFeature & GetJunctionFeature (const std::string &start_lane_id)
 Get junction feature starting from start_lane_id. More...
 
JunctionFeature GetJunctionFeature (const std::vector< std::string > &start_lane_ids)
 Get junction feature starting from start_lane_ids. More...
 

Member Function Documentation

◆ Clear()

void apollo::prediction::JunctionAnalyzer::Clear ( )

Clear all stored data.

◆ ComputeJunctionRange()

double apollo::prediction::JunctionAnalyzer::ComputeJunctionRange ( )

Compute junction range.

Returns
Junction range

◆ GetJunctionFeature() [1/2]

const JunctionFeature& apollo::prediction::JunctionAnalyzer::GetJunctionFeature ( const std::string &  start_lane_id)

Get junction feature starting from start_lane_id.

Parameters
startlane ID
Returns
junction

◆ GetJunctionFeature() [2/2]

JunctionFeature apollo::prediction::JunctionAnalyzer::GetJunctionFeature ( const std::vector< std::string > &  start_lane_ids)

Get junction feature starting from start_lane_ids.

Parameters
startlane IDs
Returns
junction

◆ GetJunctionId()

const std::string& apollo::prediction::JunctionAnalyzer::GetJunctionId ( )

Get junction ID.

Returns
Junction ID

◆ Init()

void apollo::prediction::JunctionAnalyzer::Init ( const std::string &  junction_id)

Initialize by junction ID, if junction id differs from prev cycle.

Parameters
junctionID

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