libosmscout 1.1.1
Loading...
Searching...
No Matches
osmscout::RoutingService Class Reference

#include <libosmscout/include/osmscout/routing/RoutingService.h>

Inheritance diagram for osmscout::RoutingService:

Classes

struct  RNode
struct  RNodeCostCompare
struct  VNode
struct  ClosedNodeHasher

Public Member Functions

 RoutingService ()
virtual ~RoutingService ()

Static Public Member Functions

static std::string GetDataFilename (const std::string &filenamebase)
static std::string GetData2Filename (const std::string &filenamebase)
static std::string GetIndexFilename (const std::string &filenamebase)

Static Public Attributes

static const char *const FILENAME_INTERSECTIONS_DAT
 Relative filename of the intersection data file.
static const char *const FILENAME_INTERSECTIONS_IDX
 Relative filename of the intersection index file.
static const char *const DEFAULT_FILENAME_BASE
 Relative filebase name for touting data as generated by default by the importer.

Protected Types

using RNodeRef = std::shared_ptr<RNode>
using OpenList = std::set<RNodeRef, RNodeCostCompare>
using OpenListRef = std::set<RNodeRef, RNodeCostCompare>::iterator
using OpenMap = std::unordered_map<DBId, OpenListRef>
using ClosedSet = std::unordered_set<VNode, ClosedNodeHasher>

Detailed Description

Abstract algorithms for routing

Member Typedef Documentation

◆ ClosedSet

using osmscout::RoutingService::ClosedSet = std::unordered_set<VNode, ClosedNodeHasher>
protected

◆ OpenList

◆ OpenListRef

using osmscout::RoutingService::OpenListRef = std::set<RNodeRef, RNodeCostCompare>::iterator
protected

◆ OpenMap

using osmscout::RoutingService::OpenMap = std::unordered_map<DBId, OpenListRef>
protected

◆ RNodeRef

using osmscout::RoutingService::RNodeRef = std::shared_ptr<RNode>
protected

Constructor & Destructor Documentation

◆ RoutingService()

osmscout::RoutingService::RoutingService ( )

◆ ~RoutingService()

virtual osmscout::RoutingService::~RoutingService ( )
virtual

Member Function Documentation

◆ GetData2Filename()

std::string osmscout::RoutingService::GetData2Filename ( const std::string & filenamebase)
static

◆ GetDataFilename()

std::string osmscout::RoutingService::GetDataFilename ( const std::string & filenamebase)
static

◆ GetIndexFilename()

std::string osmscout::RoutingService::GetIndexFilename ( const std::string & filenamebase)
static

Member Data Documentation

◆ DEFAULT_FILENAME_BASE

const char* const osmscout::RoutingService::DEFAULT_FILENAME_BASE
static

Relative filebase name for touting data as generated by default by the importer.

◆ FILENAME_INTERSECTIONS_DAT

const char* const osmscout::RoutingService::FILENAME_INTERSECTIONS_DAT
static

Relative filename of the intersection data file.

◆ FILENAME_INTERSECTIONS_IDX

const char* const osmscout::RoutingService::FILENAME_INTERSECTIONS_IDX
static

Relative filename of the intersection index file.


The documentation for this class was generated from the following file: