graph

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiGraph

type DiGraph struct {
	// contains filtered or unexported fields
}

func NewDirectedGraph

func NewDirectedGraph(buffer int) *DiGraph

func (*DiGraph) AddEdge

func (g *DiGraph) AddEdge(from, to interface{})

func (*DiGraph) AddVertex

func (g *DiGraph) AddVertex(v interface{})

func (*DiGraph) DelEdge

func (g *DiGraph) DelEdge(from, to interface{})

func (*DiGraph) Pipeline

func (g *DiGraph) Pipeline() <-chan interface{}

vertex will be deleted after consuming

func (*DiGraph) QueuedCount

func (g *DiGraph) QueuedCount() int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL