SOLA
Loading...
Searching...
No Matches
route_calculation_helper.h
1// Copyright 2023 The SOLA authors
2//
3// This file is part of DAISI.
4//
5// DAISI is free software: you can redistribute it and/or modify it under the terms of the GNU
6// General Public License as published by the Free Software Foundation; version 2.
7//
8// DAISI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
9// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
10// Public License for more details.
11//
12// You should have received a copy of the GNU General Public License along with DAISI. If not, see
13// <https://www.gnu.org/licenses/>.
14//
15// SPDX-License-Identifier: GPL-2.0-only
16
17#ifndef DAISI_PATH_PLANNING_CONSENSUS_ROUTE_CALCULATION_HELPER_H_
18#define DAISI_PATH_PLANNING_CONSENSUS_ROUTE_CALCULATION_HELPER_H_
19
20#include "path_planning/constants.h"
21
22namespace daisi::path_planning::consensus {
34 [[nodiscard]] static double calculatePossibleStartTime(
35 const PointTimePairs &points, double initial_start_time, double max_preplanning_time_s,
36 double time_between_intersections_s, const IntersectionOccupancy &intersection_occupancy);
37
38private:
48 [[nodiscard]] static bool possibleRoute(const PointTimePairs &points, double start_time_s,
49 double time_between_intersections_s,
50 const IntersectionOccupancy &intersection_occupancy);
51};
52} // namespace daisi::path_planning::consensus
53
54#endif // DAISI_PATH_PLANNING_CONSENSUS_ROUTE_CALCULATION_HELPER_H_
Definition route_calculation_helper.h:23
static double calculatePossibleStartTime(const PointTimePairs &points, double initial_start_time, double max_preplanning_time_s, double time_between_intersections_s, const IntersectionOccupancy &intersection_occupancy)
Definition route_calculation_helper.cpp:24