day18

package
v0.0.0-...-b64f895 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2022 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main()

Types

type Node

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

func (*Node) AddLeft

func (node *Node) AddLeft()

func (*Node) AddRight

func (node *Node) AddRight()

func (*Node) Height

func (node *Node) Height(depth int) int

func (*Node) IsTerminal

func (node *Node) IsTerminal() bool

func (*Node) Magnitude

func (node *Node) Magnitude() int

func (*Node) PrintRoot

func (node *Node) PrintRoot(label string)

func (*Node) Reduce

func (node *Node) Reduce(level int, reductionMethod string) (*Node, bool)

func (*Node) ReduceFull

func (tree *Node) ReduceFull() *Node

func (*Node) Split

func (node *Node) Split()

func (Node) String

func (node Node) String() string

Jump to

Keyboard shortcuts

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