From 4ec8593b122d8b2cedeab2143c13f54d0766207d Mon Sep 17 00:00:00 2001 From: Rhys Goldstein Date: Wed, 15 May 2024 09:56:06 -0400 Subject: [PATCH 1/2] Complete executable usage description --- analysis/main.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/analysis/main.cpp b/analysis/main.cpp index 6216276..3e442cc 100644 --- a/analysis/main.cpp +++ b/analysis/main.cpp @@ -3,7 +3,7 @@ void usage() { - printf("Usage: Central64Analysis [scenario]\n"); + printf("Usage: Central64Analysis []\n"); printf("\n"); printf("The must be one of the following:\n"); printf(" heuristic Plan one path for each benchmark scenario.\n"); @@ -14,6 +14,12 @@ void usage() printf("The must be one of the following:\n"); printf(" partial Compare a selected set of path planning methods.\n"); printf(" complete Compare a comprehensive set of path planning methods.\n"); + printf("\n"); + printf("The is the path to the map file. For example:\n"); + printf(" ../benchmarks/dao/arena.map\n"); + printf("\n"); + printf("The is the 0-based index of the scenario to be solved.\n"); + printf(" If not provided, all scenarios are solved.\n"); } int main(int argc, char* argv[]) From 32b06fd15dd2300568619727b429dbcbef69e872 Mon Sep 17 00:00:00 2001 From: Rhys Goldstein Date: Wed, 15 May 2024 09:56:44 -0400 Subject: [PATCH 2/2] Add missing function call parameters --- include/central64/grid/Offset2D.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/central64/grid/Offset2D.hpp b/include/central64/grid/Offset2D.hpp index 91cc7d6..92804ef 100644 --- a/include/central64/grid/Offset2D.hpp +++ b/include/central64/grid/Offset2D.hpp @@ -76,7 +76,7 @@ inline std::string ToString(const std::vector& pathVertices, if (i > 0) { pathString += vertexDelimiter; } - pathString += ToString(pathVertices[i]); + pathString += ToString(pathVertices[i], leftBracket, rightBracket, coordDelimiter); } return pathString; }