edge

package
v0.0.0-...-8859e38 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2018 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 {
	// contains filtered or unexported fields
}

func NewEdge

func NewEdge(v, w int, weight float64) Edge

func NewEmptyEdge

func NewEmptyEdge() Edge

func (Edge) Compare

func (this Edge) Compare(other Edge) int

func (Edge) Either

func (e Edge) Either() int

func (Edge) Other

func (e Edge) Other(vertex int) int

func (Edge) Weight

func (e Edge) Weight() float64

Jump to

Keyboard shortcuts

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