Documentation
¶
Overview ¶
Package goraph implements graph data structures and algorithms. It interacts with DOT and JSON format files.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package algorithm contains several graph algorithms.
|
Package algorithm contains several graph algorithms. |
|
bfs
Package bfs implements Breadth First Search algorithm (or BFS).
|
Package bfs implements Breadth First Search algorithm (or BFS). |
|
dfs
Package dfs implements Dapth First Search algorithm (or DFS).
|
Package dfs implements Dapth First Search algorithm (or DFS). |
|
maxflow
Package maxflow implements the Maximum Network Flow algorithm.
|
Package maxflow implements the Maximum Network Flow algorithm. |
|
maxflow/fdfk
Package fdfk implements Ford-Fulkerson's Maximum Network Flow algorithm.
|
Package fdfk implements Ford-Fulkerson's Maximum Network Flow algorithm. |
|
mst
Package mst implements Minimum Spanning Tree algorithms.
|
Package mst implements Minimum Spanning Tree algorithms. |
|
mst/kruskal
Package kruskal implements Kruskal's Minimum Spanning Tree algorithm.
|
Package kruskal implements Kruskal's Minimum Spanning Tree algorithm. |
|
mst/prim
Package prim implements Prim's Minimum Spanning Tree algorithm.
|
Package prim implements Prim's Minimum Spanning Tree algorithm. |
|
scc
Package scc implements the Strongly Connected Components algorithm.
|
Package scc implements the Strongly Connected Components algorithm. |
|
scc/tarjan
Package tarjan implements Tarjan's Strongly Connected Components algorithm.
|
Package tarjan implements Tarjan's Strongly Connected Components algorithm. |
|
sp
Package sp returns the shortest path in the graph.
|
Package sp returns the shortest path in the graph. |
|
spbf
Package spbf finds the shortest path using Bellman-Ford algorithm.
|
Package spbf finds the shortest path using Bellman-Ford algorithm. |
|
spd
Package spd finds the shortest path using Dijkstra algorithm.
|
Package spd finds the shortest path using Dijkstra algorithm. |
|
spfw
Package spfw finds the all-pairs shortest paths using Floyd-Warshall algorithm.
|
Package spfw finds the all-pairs shortest paths using Floyd-Warshall algorithm. |
|
tsdag
Package tsdag finds the topological sort.
|
Package tsdag finds the topological sort. |
|
tskahn
Package tskahn finds topological sort based on algorithm by Arthur Kahn(1962).
|
Package tskahn finds topological sort based on algorithm by Arthur Kahn(1962). |
|
Package goroup implements set operations, where the order of data does not matter.
|
Package goroup implements set operations, where the order of data does not matter. |
|
Package gosequence implements sequence operations.
|
Package gosequence implements sequence operations. |
|
Package graph contains several graph data structure implementations.
|
Package graph contains several graph data structure implementations. |
|
gl
Package gl implements graph using adjacency list and linked list data structure with no duplicate edge being allowed.
|
Package gl implements graph using adjacency list and linked list data structure with no duplicate edge being allowed. |
|
gm
Package gm implements graph using adjacency list and map data structure.
|
Package gm implements graph using adjacency list and map data structure. |
|
gs
Package gs implements graph using adjacency list and slice data structure, with no duplicate edge being allowed.
|
Package gs implements graph using adjacency list and slice data structure, with no duplicate edge being allowed. |
|
gset
Package gset implements disjoint set for `gs` package.
|
Package gset implements disjoint set for `gs` package. |
|
gt
Package gt implements graph using adjacency matrix and map data structure.
|
Package gt implements graph using adjacency matrix and map data structure. |
|
helper
Package helper provides helper functions to package graph.
|
Package helper provides helper functions to package graph. |
|
Package gson is a simple package for JSON.
|
Package gson is a simple package for JSON. |
|
Package parsex provides helper function to converts different data format to a graph data structure.
|
Package parsex provides helper function to converts different data format to a graph data structure. |
|
dotx
Package dotx interacts with DOT, with no duplicate edge being allowed.
|
Package dotx interacts with DOT, with no duplicate edge being allowed. |
|
dotxd
Package dotxd interacts with DOT, with duplicate edges being allowed.
|
Package dotxd interacts with DOT, with duplicate edges being allowed. |
|
jsonx
Package jsonx interacts with JSON, with no duplicate edge being allowed.
|
Package jsonx interacts with JSON, with no duplicate edge being allowed. |
|
jsonxd
Package jsonxd interacts with JSON, with duplicate edges being allowed.
|
Package jsonxd interacts with JSON, with duplicate edges being allowed. |
|
usage
|
|
|
algorithm-visualize/bfs
command
+build http://golang.org/pkg/go/build/#pkg-overview
|
+build http://golang.org/pkg/go/build/#pkg-overview |
|
algorithm-visualize/dfs
command
+build
|
+build |
|
algorithm-visualize/mst-kruskal
command
+build
|
+build |
|
algorithm-visualize/mst-prim
command
+build
|
+build |
|
algorithm-visualize/spd
command
+build
|
+build |
Click to show internal directories.
Click to hide internal directories.


