kirkpatrick

package
v0.0.0-...-c864ae1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: BSD-2-Clause, BSD-3-Clause, MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CompressedModel        = "CompressedModel"
	ObjectiveValue         = "ObjectiveValue"
	ChangeInObjectiveValue = "ChangeInObjectiveValue"
)
View Source
const (
	DecisionVariableName  = "DecisionVariable"
	OptimisationDirection = "OptimisationDirection"
)
View Source
const (
	Invalid optimisationDirection = iota
	Minimising
	Maximising
)

Variables

This section is empty.

Functions

func ParameterSpecifications

func ParameterSpecifications() *Specifications

Types

type Explorer

func New

func New() *Explorer

func (*Explorer) AcceptLastChange

func (ke *Explorer) AcceptLastChange()

func (*Explorer) AcceptOrRevertChange

func (ke *Explorer) AcceptOrRevertChange(acceptChange func(), revertChange func())

func (*Explorer) CoolDown

func (ke *Explorer) CoolDown()

func (*Explorer) DeepClone

func (ke *Explorer) DeepClone() explorer.Explorer

func (*Explorer) EventAttributes

func (ke *Explorer) EventAttributes(eventType observer.EventType) attributes.Attributes

func (*Explorer) Initialise

func (ke *Explorer) Initialise()

func (*Explorer) ObjectiveValue

func (ke *Explorer) ObjectiveValue() float64

func (*Explorer) ParameterErrors

func (ke *Explorer) ParameterErrors() error

func (*Explorer) RevertLastChange

func (ke *Explorer) RevertLastChange()

func (*Explorer) SetParameters

func (ke *Explorer) SetParameters(params parameters.Map) error

func (*Explorer) SetTemperature

func (ke *Explorer) SetTemperature(temperature float64) error

func (*Explorer) TearDown

func (ke *Explorer) TearDown()

func (*Explorer) TryRandomChange

func (ke *Explorer) TryRandomChange()

func (*Explorer) WithModel

func (ke *Explorer) WithModel(model model.Model) *Explorer

func (*Explorer) WithName

func (ke *Explorer) WithName(name string) *Explorer

func (*Explorer) WithParameters

func (ke *Explorer) WithParameters(params parameters.Map) *Explorer

type Parameters

type Parameters struct {
	parameters.Parameters
}

func (*Parameters) Initialise

func (p *Parameters) Initialise() *Parameters

Jump to

Keyboard shortcuts

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