kosaraju_sharir_scc

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KosarajuSharirSCC

type KosarajuSharirSCC struct {
	// contains filtered or unexported fields
}

func NewKosarajuSharirSCC

func NewKosarajuSharirSCC(g *directed_graph.Digraph) *KosarajuSharirSCC

func (*KosarajuSharirSCC) Count

func (scc *KosarajuSharirSCC) Count() int

func (*KosarajuSharirSCC) Id

func (scc *KosarajuSharirSCC) Id(v int) int

func (*KosarajuSharirSCC) StronglyConnected

func (scc *KosarajuSharirSCC) StronglyConnected(v, w int) bool

StronglyConnected finds out wheter to vertices are strongly connected. Two vertices are strongly connected, if and only if there is a directed path from v to w and vice versa

Jump to

Keyboard shortcuts

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