collection of functions related to the use of GTFS feed on routing networks.
collection of functions related to the use of GTFS feed on routing networks.
(by-cost a b)
comparator to avoid CastClassException due to Java's Long limited comparison
comparator to avoid CastClassException due to Java's Long limited comparison
(context network piece)
utility function to give a common name to the repetitive execution of (key (first piece)) to retrieve the previously computed context
Returns a stop or a way
utility function to give a common name to the repetitive execution of (key (first piece)) to retrieve the previously computed context Returns a stop or a way
(context! network trace vprev)
Returns an entity holding the 'context' of the trace. For pedestrian routing that is the road name. For transit routing it is the stop name
Returns an entity holding the 'context' of the trace. For pedestrian routing that is the road name. For transit routing it is the stop name
(duration network next-entity trail)
A very simple value computation function for arcs in a network. Returns the time it takes to go from src to dst based on walking speeds
A very simple value computation function for arcs in a network. Returns the time it takes to go from src to dst based on walking speeds
(name e)
returns a name that represents this entity in the network. returns nil if the entity has no name
returns a name that represents this entity in the network. returns nil if the entity has no name
(successors network entity)
takes a network and an entity id and returns the successors of that entity
takes a network and an entity id and returns the successors of that entity
(timetable-duration network trips dst trail)
provides routing calculations using both GTFS feed and OSM nodes. Returns a Long for walking parts and a TripStep for GTFS related ones.
provides routing calculations using both GTFS feed and OSM nodes. Returns a Long for walking parts and a TripStep for GTFS related ones.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close