bitboard

package
v0.0.0-...-7c4a433 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dimensions

func Dimensions(c *Constants, bits uint64) (w, h int)

func Flood

func Flood(c *Constants, within uint64, seed uint64) uint64

func FloodGroups

func FloodGroups(c *Constants, bits uint64, out []uint64) []uint64

func Grow

func Grow(c *Constants, within uint64, seed uint64) uint64

func Popcount

func Popcount(x uint64) int

Types

type Constants

type Constants struct {
	Size       uint
	L, R, T, B uint64
	Mask       uint64
}

func Precompute

func Precompute(size uint) Constants

Jump to

Keyboard shortcuts

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