edge - ActiveState ActiveGo 1.8
...

Package edge

import "github.com/onsi/gomega/matchers/support/goraph/edge"
Overview
Index

Overview ▾

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