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[]) 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; }