phase1

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alg

type Alg uint8
const (
	Greedy Alg = iota
	DepthFirst
)

func (Alg) Phase

func (alg Alg) Phase() int

Phase returns the ordinal number of this phase: 1.

func (Alg) Process

func (alg Alg) Process(g *graph.DGraph, _ graph.Params)

Process runs this cycle breaking algorithm on the input graph. The graph must be connected.

func (Alg) String

func (alg Alg) String() (s string)

String returns a mnemonic representation of this algorithm. The exact string values are not documented and may change in the future.

Jump to

Keyboard shortcuts

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