...
Package bipartitegraph
Overview ▹
Index ▹
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)
ActiveGo 1.8