edge

package
Version: v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: MIT Imports: 1 Imported by: 227

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

Source Files

Jump to

Keyboard shortcuts

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