mirror of
https://github.com/gonum/gonum.git
synced 2025-10-15 19:50:48 +08:00
Removed useless convenience constants
This commit is contained in:
6
graph.go
6
graph.go
@@ -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.
|
||||
|
Reference in New Issue
Block a user