Graph Utilities
LightOSM.index_to_node_id
— Functionindex_to_node_id(g::OSMGraph, x::DEFAULT_OSM_INDEX_TYPE)
index_to_node_id(g::OSMGraph, x::Vector{<:DEFAULT_OSM_INDEX_TYPE})
Maps node index to node id.
LightOSM.index_to_node
— Functionindex_to_node(g::OSMGraph, x::DEFAULT_OSM_INDEX_TYPE)
index_to_node(g::OSMGraph, x::Vector{<:DEFAULT_OSM_INDEX_TYPE})
Maps node index to node object.
LightOSM.node_id_to_index
— Functionnode_id_to_index(g::OSMGraph, x::DEFAULT_OSM_ID_TYPE)
node_id_to_index(g::OSMGraph, x::Vector{<:DEFAULT_OSM_ID_TYPE})
Maps node id to index.
LightOSM.node_to_index
— Functionnode_to_index(g::OSMGraph, x::Node)
node_to_index(g::OSMGraph, x::Vector{Node})
Maps node object to index.
LightOSM.index_to_dijkstra_state
— Functionindex_to_dijkstra_state(g::OSMGraph, x::DEFAULT_OSM_INDEX_TYPE)
Maps node index to dijkstra state (parents).
LightOSM.node_id_to_dijkstra_state
— Functionnode_id_to_dijkstra_state(g::OSMGraph, x::DEFAULT_OSM_ID_TYPE)
Maps node id to dijkstra state (parents).
LightOSM.set_dijkstra_state_with_index!
— Functionset_dijkstra_state_with_index!(g::OSMGraph, index::DEFAULT_OSM_INDEX_TYPE, state)
Set dijkstra state (parents) with node index.
LightOSM.set_dijkstra_state_with_node_id!
— Functionset_dijkstra_state_with_node_id!(g::OSMGraph, index::DEFAULT_OSM_ID_TYPE, state)
Set dijkstra state (parents) with node id.
LightOSM.maxspeed_from_index
— Functionmaxspeed_from_index(g, x::DEFAULT_OSM_INDEX_TYPE)
maxspeed_from_node_id(g, x::DEFAULT_OSM_ID_TYPE)
Get maxspeed from index id or node id.