MCPcopy
hub / github.com/fogleman/primitive / Annealable

Interface Annealable

primitive/optimize.go:8–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6)
7
8type Annealable interface {
9 Energy() float64
10 DoMove() interface{}
11 UndoMove(interface{})
12 Copy() Annealable
13}
14
15func HillClimb(state Annealable, maxAge int) Annealable {
16 state = state.Copy()

Callers 16

StepMethod · 0.65
runWorkersMethod · 0.65
EnergyMethod · 0.65
HillClimbFunction · 0.65
PreAnnealFunction · 0.65
AnnealFunction · 0.65
BestHillClimbStateMethod · 0.65
BestRandomStateMethod · 0.65
HillClimbFunction · 0.65
PreAnnealFunction · 0.65
AnnealFunction · 0.65
HillClimbFunction · 0.65

Implementers 1

Stateprimitive/state.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…