edge

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Edge

type Edge struct {
	Node1 Node
	Node2 Node
}

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