Skip to content

Commit

Permalink
Merge pull request #3 from Autodesk/fix_function_call_and_usage_descr…
Browse files Browse the repository at this point in the history
…iption

Fix function call and usage description
  • Loading branch information
rhysgoldstein authored May 15, 2024
2 parents 7317299 + f81536c commit e9ac159
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion analysis/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

void usage()
{
printf("Usage: Central64Analysis <mode> <scope> <filepath> [scenario]\n");
printf("Usage: Central64Analysis <mode> <scope> <filepath> [<scenario>]\n");
printf("\n");
printf("The <mode> must be one of the following:\n");
printf(" heuristic Plan one path for each benchmark scenario.\n");
Expand All @@ -14,6 +14,12 @@ void usage()
printf("The <scope> 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 <filepath> is the path to the map file. For example:\n");
printf(" ../benchmarks/dao/arena.map\n");
printf("\n");
printf("The <scenario> 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[])
Expand Down
2 changes: 1 addition & 1 deletion include/central64/grid/Offset2D.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ inline std::string ToString(const std::vector<Offset2D>& pathVertices,
if (i > 0) {
pathString += vertexDelimiter;
}
pathString += ToString(pathVertices[i]);
pathString += ToString(pathVertices[i], leftBracket, rightBracket, coordDelimiter);
}
return pathString;
}
Expand Down

0 comments on commit e9ac159

Please sign in to comment.