Liking cljdoc? Tell your friends :D

hiposfer.kamal.services.routing.transit

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.
raw docstring

by-costclj

(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
sourceraw docstring

contextclj

(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
sourceraw docstring

context!clj

(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
sourceraw docstring

durationclj

(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
sourceraw docstring

nameclj

(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
sourceraw docstring

node?clj

(node? e)
source

penaltyclj

source

route-typesclj

source

stop-times?clj

(stop-times? e)
source

stop?clj

(stop? e)
source

successorsclj

(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
sourceraw docstring

timetable-durationclj

(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.
sourceraw docstring

trip-step?clj

(trip-step? o)
source

way?clj

(way? e)
source

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

× close