graph

package
v0.0.0-...-0925704 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type ComponentsInGraphSets

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

type PqItem

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

type PriorityQueue

type PriorityQueue []*PqItem

func (PriorityQueue) IsEmpty

func (pq PriorityQueue) IsEmpty() bool

func (PriorityQueue) Len

func (pq PriorityQueue) Len() int

func (PriorityQueue) Less

func (pq PriorityQueue) Less(i, j int) bool

func (*PriorityQueue) Pop

func (pq *PriorityQueue) Pop() any

func (*PriorityQueue) Push

func (pq *PriorityQueue) Push(x any)

func (PriorityQueue) Swap

func (pq PriorityQueue) Swap(i, j int)

type ReallySpecialSubtreeEdge

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

type ReallySpeciallSubtreeGraph

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

type ReallySpeciallSubtreeSet

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

Disjoint Set - auxiliary datastructure

type RoadsAndLibrariesGraph

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

func NewRoadsAndLibrariesGraph

func NewRoadsAndLibrariesGraph(n int32, roads [][]int32) *RoadsAndLibrariesGraph

type SnakesAndLaddersEdge

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

type SnakesAndLaddersGraph

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

type SnakesAndLaddersNode

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

type SnakesAndLaddersQueue

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

type SnakesAndLaddersQueueEntry

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

type SpecialTreeEdge

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

type SpecialTreeGraph

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

type SpecialTreeNode

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

Jump to

Keyboard shortcuts

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