37 bool Init(
const std::string &config_dir,
const std::string &name,
38 const std::shared_ptr<DependencyInjector> &injector)
override;
55 bool IsValidPathReference(
58 const std::vector<common::PathPoint> &path_reference);
64 void PathBoundToLineSegments(
66 std::vector<std::vector<common::math::LineSegment2d>>
67 *path_bound_segments);
76 void EvaluatePathReference(
78 const std::vector<common::PathPoint> &path_reference,
79 std::vector<common::PathPoint> *evaluated_path_reference);
101 size_t GetRegularPathBound(
102 const std::vector<PathBoundary> &path_bounds)
const;
113 bool IsADCBoxAlongPathReferenceWithinPathBounds(
114 const std::vector<common::TrajectoryPoint> &path_reference,
117 void ConvertTrajectoryToPath(
118 const std::vector<common::TrajectoryPoint> &trajectory,
119 std::vector<common::PathPoint> *path);
121 void RecordDebugInfo(
const std::vector<common::PathPoint> &path_points,
122 const std::string &path_name,
126 static int valid_path_reference_counter_;
127 static int total_path_counter_;