Skip to content
This repository has been archived by the owner on Jun 8, 2019. It is now read-only.

Graph Algorithms

Mark McKnight edited this page Feb 1, 2018 · 2 revisions
Graph Documentation Result
Complete g.complete() Complete Graph
Geometric Random g.geometricRandom([distance: 0 - 1]) Geometric Random Graph
Grid g.grid() Grid
Ladder g.ladder() Ladder Graph
Pairs g.pairs() Pairs
Preferential Attachment (Barabási–Albert) g.barabasiAlbert([edges per node]) Preferential Attachment Graph
Random (Erdős–Rényi) g.random([probability: 0 - 1]) Random Graph
Ring g.ring() Ring Graph
Ring Lattice g.ringLattice([degree of nodes to connect]) Ring Lattice Graph
Small World (Watts-Strogatz) g.wattsStrogatz([degree], [probability: 0-1]) Small World Graph
Star g.star() Star Graph
Wheel g.wheel() Wheel Graph