suppapitnarm

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: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ArchiveSize                     = "ArchiveSize"
	ArchiveResult                   = "ArchiveResult"
	IterationsUntilNextReturnToBase = "IterationsUntilNextReturnToBase"
	ModelArchive                    = "ModelArchive"
	LastReturnedToBase              = "LastReturnedToBase"
)
View Source
const (
	ReturnToBaseAdjustmentFactor  = "ReturnToBaseAdjustmentFactor"
	InitialReturnToBaseStep       = "InitialReturnToBaseStep"
	MinimumReturnToBaseRate       = "MinimumReturnToBaseRate"
	ReturnToBaseIsolationFraction = "ReturnToBaseIsolationFraction"
	CheckNonDominance             = "CheckNonDominance"
)
View Source
const (
	Invalid optimisationDirection = iota
	Minimising
	Maximising
)

Variables

This section is empty.

Functions

func ParameterSpecifications

func ParameterSpecifications() *Specifications

Types

type Explorer

type Explorer struct {
	name.NameContainer
	name.IdentifiableContainer

	loggers.ContainedLogger

	observer.SynchronousAnnealingEventNotifier
	// contains filtered or unexported fields
}

func New

func New() *Explorer

func (*Explorer) AcceptDesirableChange

func (ke *Explorer) AcceptDesirableChange()

func (*Explorer) AcceptOrRevertChange

func (ke *Explorer) AcceptOrRevertChange(variableDifferences []float64)

func (*Explorer) AcceptUndesirableChange

func (ke *Explorer) AcceptUndesirableChange()

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) Model

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

func (*Explorer) ObjectiveValue

func (ke *Explorer) ObjectiveValue() float64

func (*Explorer) ParameterErrors

func (ke *Explorer) ParameterErrors() error

func (*Explorer) ReturnToBaseIfRequired

func (ke *Explorer) ReturnToBaseIfRequired(state *archive.CompressedModelState)

func (*Explorer) RevertLastChange

func (ke *Explorer) RevertLastChange()

func (*Explorer) SetCoolant

func (ke *Explorer) SetCoolant(coolant cooling.TemperatureCoolant)

func (*Explorer) SetId

func (ke *Explorer) SetId(id string)

func (*Explorer) SetModel

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

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) WithCoolant

func (ke *Explorer) WithCoolant(coolant cooling.TemperatureCoolant) *Explorer

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