pruner

package
v0.0.0-...-634b395 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pruner

type Pruner interface {
	// PruneIsoceles updates the given set to include all points that form an isoceles triangle with the two given points
	PruneIsoceles(sets.PointSet, grid.Point, grid.Point)
	// PruneCircles updates the given set to include all points that fall on the circle with the given radius (squared) around the given point
	PruneCircles(sets.PointSet, grid.Point, uint16)
}

func NewPrecomputedPruner

func NewPrecomputedPruner(g grid.Grid) Pruner

func NewRuntimePruner

func NewRuntimePruner(g grid.Grid) Pruner

Jump to

Keyboard shortcuts

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