package
Version:
v0.0.0-...-d3e0cf2
Opens a new window with list of versions in this module.
Published: Mar 23, 2015
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Graph object
Store map of page name: list of links on that page
use Put, Get to access pages map
NewGraph initializes a graph
Close passes through to bolt.Close
Flush makes sure buffer is empty and all data is stored in boltdb
Get list of links on a given page
Linked returns true if link to dest on the source page
Path search using A* algorithm, returns path as a human readable string
Put saves a list of links on a given page
Queue type used in search
NewQueue initializes a new queue object
Pop removes and returns a node from the queue in first to last order.
Push adds a node to the queue.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.