bipartitegraph - ActiveState ActiveGo 1.8
...

Package bipartitegraph

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

Overview ▾

type BipartiteGraph

type BipartiteGraph struct {
    Left  NodeOrderedSet
    Right NodeOrderedSet
    Edges EdgeSet
}

func NewBipartiteGraph

func NewBipartiteGraph(leftValues, rightValues []interface{}, neighbours func(interface{}, interface{}) (bool, error)) (*BipartiteGraph, error)

func (*BipartiteGraph) LargestMatching

func (bg *BipartiteGraph) LargestMatching() (matching EdgeSet)