Liking cljdoc? Tell your friends :D

hiposfer.kamal.router.graph

functions to transform a Datascript representation to an Int-Map for super-fast lookups and Dijkstra routing

functions to transform a Datascript representation to an Int-Map for
super-fast lookups and Dijkstra routing
raw docstring

createclj

(create network)

create a graph representation using an Int Map

  • The network OSM nodes and stops are mapped using Datascript's entity ID
  • The edges/arcs are computed based on OSM ways and GTFS trips
create a graph representation using an Int Map
- The network OSM nodes and stops are mapped using Datascript's entity ID
- The edges/arcs are computed based on OSM ways and GTFS trips
sourceraw docstring

node?clj

(node? o)
source

postprocessclj

(postprocess network)

temporarily add information needed for routing to Datascript.

We just piggie-back on Datascript to do the hard work on resolving references

temporarily add information needed for routing to Datascript.

We just piggie-back on Datascript to do the hard work on resolving references
sourceraw docstring

stop?clj

(stop? o)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close