IMS2
Pre-Alpha
An Orbiter add-on to allow on-runtime construction of spacecraft from predefined modules
|
Static Public Member Functions | |
static bool | BreadthFirst (SimplePathNode *origin, SimplePathNode *target, stack< int > &OUT_path) |
A breath-first solution that finds the guaranteed shortest path in terms of nodes covered. More... | |
Class containing algorithms for pathfinding or related tasks
|
static |
A breath-first solution that finds the guaranteed shortest path in terms of nodes covered.
Meaning, the path from origin to target that has the fewest nodes in it, ignoring all other costs.
origin | The node to start at |
target | The node to find a path to |
OUT_path | Will contain the path from origin to target if the function was successful. Old contents will be overwritten! |