libosmscout
0.1
|
#include <RoutingService.h>
Classes | |
struct | ClosedNodeHasher |
Helper class for calculating hash codes for VNode instances to make it usable in std::unordered_set. More... | |
struct | RNode |
struct | RNodeCostCompare |
struct | VNode |
Public Member Functions | |
RoutingService () | |
virtual | ~RoutingService () |
Static Public Member Functions | |
static std::string | GetData2Filename (const std::string &filenamebase) |
static std::string | GetDataFilename (const std::string &filenamebase) |
static std::string | GetIndexFilename (const std::string &filenamebase) |
Static Public Attributes | |
static const char *const | DEFAULT_FILENAME_BASE = "router" |
Relative filebase name for touting data as generated by default by the importer. More... | |
static const char *const | FILENAME_INTERSECTIONS_DAT = "intersections.dat" |
Relative filename of the intersection data file. More... | |
static const char *const | FILENAME_INTERSECTIONS_IDX = "intersections.idx" |
Relative filename of the intersection index file. More... | |
Protected Types | |
using | ClosedSet = std::unordered_set< VNode, ClosedNodeHasher > |
using | OpenList = std::set< RNodeRef, RNodeCostCompare > |
using | OpenListRef = std::set< RNodeRef, RNodeCostCompare >::iterator |
using | OpenMap = std::unordered_map< DBId, OpenListRef > |
using | RNodeRef = std::shared_ptr< RNode > |
Abstract algorithms for routing
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
osmscout::RoutingService::RoutingService | ( | ) |
|
virtual |
|
static |
Referenced by osmscout::RoutingDatabase::Open().
|
static |
|
static |
|
static |
Relative filebase name for touting data as generated by default by the importer.
Referenced by osmscout::RoutingDatabase::Open(), and osmscout::MultiDBRoutingService::Open().
|
static |
Relative filename of the intersection data file.
|
static |
Relative filename of the intersection index file.