[openlr] Documentation

Signed-off-by: mvglasow <michael -at- vonglasow.com>
This commit is contained in:
mvglasow
2025-05-08 23:16:37 +03:00
parent dbf253c9d1
commit f041f910e7
9 changed files with 181 additions and 80 deletions

View File

@@ -17,9 +17,12 @@ class ScorePathsConnector
public:
ScorePathsConnector(Graph & graph, RoadInfoGetter & infoGetter, v2::Stats & stat);
/// \brief Connects |lineCandidates| and fills |resultPath| with the path with maximum score
/// if there's a good enough.
/// \returns true if the best path is found and false otherwise.
/**
* @brief Connects `lineCandidates` and fills `resultPath` with the path with maximum score
* if there's a good enough one.
*
* @return true if the best path is found and false otherwise.
*/
bool FindBestPath(std::vector<LocationReferencePoint> const & points,
std::vector<std::vector<ScorePath>> const & lineCandidates,
LinearSegmentSource source,