Liking cljdoc? Tell your friends :D

blossom.graph


compute-endpointclj/s

(compute-endpoint edges)
source

compute-neighbendclj/s

(compute-neighbend edges)
source

edges-with-weightsclj/s

(edges-with-weights g)
source

initializeclj/s

(initialize edges)
source

integer-weights?clj/s

(integer-weights? edges)
source

max-vertex-idclj/s

(max-vertex-id edges)
source

max-weightclj/s

(max-weight edges)
source

no-edge?clj/s

source

no-node?clj/s

source

PGraphclj/sprotocol

edgeclj/s

(edge g k)
source

PWeightedEdgeclj/sprotocol

destclj/s

(dest edge)

Returns the dest node of the edge

Returns the dest node of the edge

srcclj/s

(src edge)

Returns the source node of the edge

Returns the source node of the edge

weightclj/s

(weight edge)

Returns the weight of the edge

Returns the weight of the edge
source

some-edge?clj/s

source

some-node?clj/s

source

star-graphclj/s

(star-graph n)

Return the star graph

The star graph consists of one center node connected to n outer nodes.

Parameters

n : int node labels are 0 to n with center 0.

Notes

The graph has n+1 nodes for integer n.

Return the star graph

The star graph consists of one center node connected to n outer nodes.

Parameters
----------
n : int
    node labels are 0 to n with center 0.

Notes
-----
The graph has n+1 nodes for integer n.
sourceraw docstring

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

× close