day17

package
v0.0.0-...-be45ac3 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 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 Day17

type Day17 struct{}

func (Day17) Part1

func (d Day17) Part1(input string) *common.Solution

func (Day17) Part2

func (d Day17) Part2(input string) *common.Solution

type PriorityQueue

type PriorityQueue []*Vector

Array based priority queue which implements the container/heap interface taken from: https://pkg.go.dev/container/heap#example-package-PriorityQueue

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(item any)

func (PriorityQueue) Swap

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

type Vector

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

type Visit

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

Jump to

Keyboard shortcuts

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