cmp

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultF = F{
		ID:          true,
		Height:      true,
		AABB:        true,
		Heuristic:   true,
		LRInvariant: true,
		Recursive:   true,
	}
)

Functions

func Equal

func Equal(n node.N, m node.N) bool

Types

type F

type F struct {
	ID        bool
	Height    bool
	AABB      bool
	Heuristic bool

	Recursive   bool
	LRInvariant bool
}

F is a comparison filter used to optionally exclude comparing cached values. This is useful for specific types of testing where these cache values do not matter.

func (F) Equal

func (f F) Equal(n node.N, m node.N) bool

Jump to

Keyboard shortcuts

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