phase2

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2025 License: MIT Imports: 3 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 (
	LongestPath Alg = iota
	NetworkSimplex
)

func (Alg) Phase

func (alg Alg) Phase() int

Phase returns the ordinal number of this phase: 2.

func (Alg) Process

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

Process runs this layering algorithm on the input graph. The graph must be acyclic.

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