package
0.4.0
Repository: https://github.com/mmcloughlin/addchain.git
Documentation: pkg.go.dev

# Functions

NewAlgorithm builds a heuristic algorithm.
UseFirst builds a compositite heuristic that will make the first non-nil suggestion from the sub-heuristics.

# Structs

Algorithm searches for an addition sequence using a heuristic at each step.
Approximation is the "Approximation" heuristic from [boscoster].
DeltaLargest implements the simple heuristic of adding the delta between the largest two entries in the protosequence.
Halving is the "Halving" heuristic from [boscoster].

# Interfaces

Heuristic suggests insertions given a current protosequence.