Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
contraction_hierarchy.cpp File Reference
#include <routingkit/contraction_hierarchy.h>
#include <routingkit/id_queue.h>
#include <routingkit/sort.h>
#include <routingkit/inverse_vector.h>
#include <routingkit/timer.h>
#include <routingkit/graph_util.h>
#include <routingkit/vector_io.h>
#include <vector>
#include <fstream>
#include <stdexcept>
Include dependency graph for contraction_hierarchy.cpp:

Go to the source code of this file.

Namespaces

namespace  RoutingKit
 

Functions

void RoutingKit::check_contraction_hierarchy_for_errors (const ContractionHierarchy &ch)
 
template int RoutingKit::ContractionHierarchyQuery::get_extra_weight_distance< std::vector< int >, SaturatedWeightAddition > (const std::vector< int > &, const SaturatedWeightAddition &)
 
template unsigned RoutingKit::ContractionHierarchyQuery::get_extra_weight_distance< std::vector< unsigned >, SaturatedWeightAddition > (const std::vector< unsigned > &, const SaturatedWeightAddition &)
 

Variable Documentation

◆ backward

◆ backward_arc_count

unsigned backward_arc_count

◆ backward_queue

MinIDQueue backward_queue
private

Definition at line 522 of file contraction_hierarchy.cpp.

◆ backward_tentative_distance

◆ bypass_node

unsigned bypass_node
private

Definition at line 364 of file contraction_hierarchy.cpp.

◆ forward

◆ forward_arc_count

unsigned forward_arc_count

◆ forward_queue

MinIDQueue forward_queue
private

Definition at line 521 of file contraction_hierarchy.cpp.

◆ forward_tentative_distance

◆ graph

◆ hop_length

unsigned hop_length

Definition at line 183 of file contraction_hierarchy.cpp.

◆ in_

std::vector<std::vector<Arc> > in_
private

Definition at line 226 of file contraction_hierarchy.cpp.

◆ level_

std::vector<unsigned> level_
private

Definition at line 227 of file contraction_hierarchy.cpp.

◆ magic_number

unsigned long long magic_number

Definition at line 1294 of file contraction_hierarchy.cpp.

◆ max_pop_count

◆ mid_node

◆ node

unsigned node

Definition at line 181 of file contraction_hierarchy.cpp.

Referenced by NIImporter_SUMO::_loadNetwork(), NGNet::add(), NBRailwayTopologyAnalyzer::addBidiEdgesForBufferStops(), NBRailwayTopologyAnalyzer::addBidiEdgesForStops(), NBNodeCont::addCluster2Join(), NIXMLConnectionsHandler::addCrossing(), NIXMLNodesHandler::addJoinCluster(), NIImporter_SUMO::addJunction(), NIXMLNodesHandler::addNode(), NBTrafficLightDefinition::addNode(), RONet::addNode(), PCLoaderOSM::addPOI(), NBEdgeCont::addPrefix(), NBNodeCont::addPrefix(), NIVissimDisturbance::addToNode(), NIXMLConnectionsHandler::addWalkingArea(), NBPTLine::addWayNode(), NBRailwayTopologyAnalyzer::allBroken(), NBRailwayTopologyAnalyzer::allSharp(), NBTrafficLightLogicCont::applyOpenDriveControllers(), NIVisumTL::build(), NLTriggerBuilder::buildCalibrator(), GNETLSEditorFrame::TLSPhases::buildDefaultPhase(), NGNode::buildNBNode(), NIVissimNodeCluster::buildNBNode(), GNEProhibitionFrame::buildProhibition(), NBRailwaySignalGuesser::canBeSignal(), CCHGraph< E, V >::CCHGraph(), KDTreePartition< E, N, V >::Cell::Cell(), KDTreePartition< E, N, V >::cellNumbers(), KDTreePartition< E, N, V >::cellNumbersAux(), GNEConnection::changeTLIndex(), NGRandomNetBuilder::checkAngles(), Circuit::checkCircuit(), GNETLSEditorFrame::cleanup(), NBLoadedTLDef::collectNodes(), NBNetBuilder::compute(), RoutingKit::compute_separator_decomposition(), AFBuild< E, N, V, M >::computeArcFlagsAux(), NBEdgePriorityComputer::computeEdgePriorities(), NBOwnTLDef::computeLogicAndConts(), NBTrafficLightLogicCont::computeLogics(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), NGNode::connected(), KDTreePartition< E, N, V >::Cell::contains(), NGNet::createChequerBoard(), NGNet::createSpiderWeb(), GNETLSEditorFrame::TLSPrograms::createTLS(), NBNodesEdgesSorter::crossing_by_junction_angle_sorter::crossing_by_junction_angle_sorter(), NBNodeCont::customTLID(), NIXMLNodesHandler::deleteNode(), Circuit::deployResults(), NIVissimNodeCluster::dict_addDisturbances(), NBNodeCont::discardRailSignals(), NBNodeCont::discardTrafficLights(), GUIOverheadWire::drawGL(), GNELane::drawLane2LaneConnections(), CCHGraph< E, V >::edgeOf(), GNETLSEditorFrame::editJunction(), NBNodeCont::erase(), Circuit::eraseNode(), CCHGraph< E, V >::expandNodePath(), NBRailwayTopologyAnalyzer::extendBidiEdges(), NBEdge::extendGeometryAtNode(), NIImporter_OpenStreetMap::extendRailwayDistances(), NBNodeCont::extract(), NGRandomNetBuilder::findPossibleOuterNodes(), NBRampsComputer::fulfillsRampConstraints(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), NIVissimDisturbance::getConnection(), NBEdge::getCrossingAngle(), NBEdge::getEndpointAtNode(), NIVissimEdge::getFromNode(), NBEdge::getInternalLaneWidth(), NBEdge::getJunctionPriority(), NIImporter_VISUM::getNamedEdgeContinuating(), NIImporter_VISUM::getNamedEdgeContinuating(), NIImporter_VISUM::getNamedEdgeContinuating(), NIImporter_VISUM::getNamedNode(), NIImporter_VISUM::getNamedNodeSecure(), NIImporter_OpenStreetMap::getNeighboringNodes(), Circuit::getNode(), Circuit::getNode(), NBEdge::getNodeBorder(), NIVissimConnectionCluster::getPositionForEdge(), NBRailwayTopologyAnalyzer::getRailEdges(), NBRailwayTopologyAnalyzer::getRailNodes(), NIImporter_VISUM::getReversedContinuating(), Element::getTheOtherNode(), NIVissimEdge::getToNode(), Circuit::getVoltage(), NBNodeCont::guessTLs(), NBEdge::hasDefaultGeometryEndpointAtNode(), NBRailwayTopologyAnalyzer::hasStraightPair(), KDTreePartition< E, N, V >::init(), NBNodeCont::insert(), NBNodeCont::insert(), NIImporter_OpenStreetMap::insertNodeChecking(), IntermodalNetwork< E, L, N, V >::IntermodalNetwork(), NIImporter_OpenStreetMap::interpretDistance(), GNEJunction::invalidateTLS(), KDTreePartition< E, N, V >::Cell::isInBounds(), NIImporter_VISUM::isSplitEdge(), NBRailwayTopologyAnalyzer::isStraight(), NBNodeCont::joinLoadedClusters(), NIImporter_OpenStreetMap::load(), NBNodeCont::markAsNotTLS(), NBNodeCont::markAsSplit(), NBEdgeCont::markRoundabouts(), NBOwnTLDef::maxCrossingIndex(), MSCalibrator::MSCalibrator(), NBTrafficLightDefinition::mustBrake(), NBRequest::mustBrakeForCrossing(), NIImporter_ITSUMO::Handler::myEndElement(), NIImporter_MATSim::NodesHandler::myStartElement(), NIImporter_OpenStreetMap::EdgesHandler::myStartElement(), NBNodeShapeComputer::NBNodeShapeComputer(), NBTrafficLightDefinition::NBTrafficLightDefinition(), GNETLSEditorFrame::TLSPrograms::onCmdSaveChanges(), NBNodeCont::onlyCrossings(), NBNodeCont::paretoCheck(), NIImporter_VISUM::parse_Lanes(), NIImporter_VISUM::parse_LanesConnections(), NIImporter_VISUM::parse_NodesToTrafficLights(), NLTriggerBuilder::parseAndBuildCalibrator(), NIXMLNodesHandler::processNodeType(), NBNodeCont::recheckGuessedTLS(), NBNodeCont::recheckTLSThreshold(), PedestrianRouter< E, L, N, V >::recomputeWalkCosts(), NIImporter_OpenStreetMap::reconstructLayerElevation(), NBNodeCont::remapIDs(), NBTrafficLightDefinition::removeNode(), NGRandomNetBuilder::removeOuterNode(), NBEdgeCont::removeRoundabout(), GNEJunction::removeTLSConnections(), NBNodeCont::rename(), GNEJunction::replaceIncomingConnections(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), NBEdge::resetEndpointAtNode(), NBEdge::resetNodeBorder(), NIVissimEdge::resolveSameNode(), NBNodeCont::retrieveByPos(), NBEdgeCont::retrievePossiblySplit(), KDTreePartition< E, N, V >::searchNode(), NBNodeCont::setAsTLControlled(), GNEJunction::setAttribute(), MSOverheadWire::setCircuitEndNodePos(), MSOverheadWire::setCircuitStartNodePos(), NBEdge::setJunctionPriority(), GNEJunction::setJunctionType(), Element::setNegNode(), NBEdge::setNodeBorder(), Element::setPosNode(), NIVissimConflictArea::setPriorityRegulation(), NBEdge::shiftPositionAtNode(), NBEdge::shortenGeometryAtNode(), NBEdgeCont::splitAt(), NBEdgeCont::splitAt(), NBEdgeCont::splitAt(), NBEdgeCont::splitGeometry(), and NWWriter_SUMO::writeNetwork().

◆ node_count

◆ out_

std::vector<std::vector<Arc> > out_
private

Definition at line 226 of file contraction_hierarchy.cpp.

◆ tail

◆ was_backward_pushed

TimestampFlags was_backward_pushed
private

Definition at line 524 of file contraction_hierarchy.cpp.

◆ was_forward_pushed

TimestampFlags was_forward_pushed
private

Definition at line 523 of file contraction_hierarchy.cpp.

◆ weight