Liking cljdoc? Tell your friends :D

hiposfer.kamal.router.algorithms.protocols


Arccljprotocol

a graph arc/edge representation

a graph arc/edge representation

dstclj

(dst this)

the destination node of this link

the destination node of this link

srcclj

(src this)

the origin node of this link

the origin node of this link
sourceraw docstring

arc?clj

(arc? o)
source

Bidirectionalcljprotocol

mirrorclj

(mirror this)

swap the src and dst of this Link

swap the src and dst of this Link

mirror?clj

(mirror? this)

returns true if this Link is a mirror of its original

returns true if this Link is a mirror of its original
source

Dijkstracljprotocol

An instance used to direct the movement of Dijkstra's traversal algorithm

An instance used to direct the movement of Dijkstra's traversal algorithm

nodeclj

(node this key)

relaxclj

(relax this arc trail)

attempts to relax node following trail path. Returns a Valuable implementation

attempts to relax node following trail path. Returns a Valuable implementation
sourceraw docstring

edge?clj

(edge? o)
source

GeoCoordinatecljprotocol

latclj

(lat this)

latitude in decimal numbers

latitude in decimal numbers

lonclj

(lon this)

longitude in decimal numbers

longitude in decimal numbers
source

Nodecljprotocol

successorsclj

(successors this)

returns the Links that origin at this Context

returns the Links that origin at this Context
source

node?clj

(node? o)
source

Valuablecljprotocol

A simple representation of a generic routing worth function result

A simple representation of a generic routing worth function result

costclj

(cost this)

a number indicating how difficult it is to get to a specific node

a number indicating how difficult it is to get to a specific node
sourceraw docstring

valuable?clj

(valuable? o)
source

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

× close