Removed useless convenience constants

This commit is contained in:
Jsor
2014-04-08 04:24:17 -07:00
parent 961d01f014
commit 69033fde71

View File

@@ -204,12 +204,6 @@ type CostFunc func(Edge) float64
// Estimates the cost of travelling between two nodes
type HeuristicCostFunc func(Node, Node) float64
// Convenience constants for AddEdge and RemoveEdge
const (
Directed bool = true
Undirected = false
)
// Determines if a MutableGraph implements DirectedGraph and panics if it does.
// This is a utility function to detect unsafe implementations. It's mostly for internal use,
// but is exported since it may be useful to people who use the package for their own tests.