edge

package
v1.27.3 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 1 Imported by: 366

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Edge

type Edge struct {
	Node1 int
	Node2 int
}

type EdgeSet

type EdgeSet []Edge

func (EdgeSet) Contains

func (ec EdgeSet) Contains(edge Edge) bool

func (EdgeSet) FindByNodes

func (ec EdgeSet) FindByNodes(node1, node2 Node) (Edge, bool)

func (EdgeSet) Free

func (ec EdgeSet) Free(node Node) bool

func (EdgeSet) SymmetricDifference

func (ec EdgeSet) SymmetricDifference(ec2 EdgeSet) EdgeSet

Jump to

Keyboard shortcuts

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