package
0.0.0-20250110021858-9232914c96e6
Repository: https://github.com/ghjm/advent_utils.git
Documentation: pkg.go.dev
# Functions
NewBoard allocates and initializes a new Board.
NewRuneBoard allocates and initializes a new RuneBoard.
NewRunePlusBoard allocates and initializes a new RunePlusBoard.
NewStdBoard allocates and initializes a new StandardBoard.
WithBounds provides initial bounds to a Board.
WithCompareFunc provides a conversion function, needed for loading from strings/files.
WithConvFunc provides a conversion function, needed for loading from strings/files.
WithEmptyVal provides an empty value.
WithStorage provides a storage backend to a Board.
# Structs
Board is an abstraction of a 2D map of discrete map points.
BoardOptions collects extra options when initializing a Board.
No description provided by the author
Map2D is a sparse map storing data elements in a discrete 2D space.
Map2DHashable is a Map2D containing Hashable elements.
RuneBoard is a Board where all the points are represented by a single rune.
RunePlusBoard is a Board that stores a rune plus arbitrary extra data at each location.
RunePlusData is the data type for elements of a RunePlusBoard.
StdBoard is a convenience name for RuneBoard[int].
# Interfaces
BoardStorage is an interface to pluggable back-end storage for a Board.
Hashable is expected to return a string uniquely identifying this object.