List of all members.
Only used in the internal workings of the routing algorithms. You won't need this class unless you are writing your own routing algorithms.
Definition at line 109 of file hexmove.h.
Public Member Functions
|_Route||step (hex::Hex *next, Cost cost, hex::Hex *goal=NULL) const|
|Return a new _Route based upon this one. |
|hex::Distance||distance (hex::Hex *goal) const|
|Distance between the end of this route and the goal, if any. |
|bool||operator< (const _Route &right) const|
|Routes sort by value. |
Static Public Member Functions
|static _Route||factory (hex::Hex *start, hex::Hex *goal=NULL)|
|Generate an entirely new route, just one hex long. |
|std::list< Hex * >||path|
|from start to current hex |
|sum of weights of hexes in path. (g() in A*) |
Generate an entirely new route, just one hex long.
Return a new _Route based upon this one.
Distance between the end of this route and the goal, if any.
Used for the h() heuristic function in A* algorithm.
|bool hex::move::_Route::operator<||(||const _Route &||right||)|| const