Documentation ¶
Index ¶
- type Edge
- type Graph
- func (r *Graph) AddEdge(e Edge) (added bool, err error)
- func (r *Graph) AddVertex(v Vertex)
- func (r *Graph) FindPath(src, dst Vertex) []Path
- func (r *Graph) IsEdge(p Point) bool
- func (r *Graph) IsEnabledPoint(p Point) bool
- func (r *Graph) RemoveEdge(p Point)
- func (r *Graph) RemoveStaleEdges(expiration time.Duration) (removed bool)
- func (r *Graph) RemoveVertex(v Vertex)
- func (r *Graph) String() string
- type Path
- type Point
- type Vertex
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Graph ¶
type Graph struct {
// contains filtered or unexported fields
}
func (*Graph) IsEnabledPoint ¶
IsEnabledPoint returns whether p is an active point that is not disabled by the minimum spanning tree.
func (*Graph) RemoveEdge ¶
func (*Graph) RemoveStaleEdges ¶
func (*Graph) RemoveVertex ¶
Click to show internal directories.
Click to hide internal directories.