Documentation ¶
Index ¶
- Constants
- func ParameterSpecifications() *Specifications
- type Explorer
- func (ke *Explorer) AcceptDesirableChange()
- func (ke *Explorer) AcceptOrRevertChange(variableDifferences []float64)
- func (ke *Explorer) AcceptUndesirableChange()
- func (ke *Explorer) CoolDown()
- func (ke *Explorer) DeepClone() explorer.Explorer
- func (ke *Explorer) EventAttributes(eventType observer.EventType) attributes.Attributes
- func (ke *Explorer) Initialise()
- func (ke *Explorer) Model() model.Model
- func (ke *Explorer) ObjectiveValue() float64
- func (ke *Explorer) ParameterErrors() error
- func (ke *Explorer) ReturnToBaseIfRequired(state *archive.CompressedModelState)
- func (ke *Explorer) RevertLastChange()
- func (ke *Explorer) SetCoolant(coolant cooling.TemperatureCoolant)
- func (ke *Explorer) SetId(id string)
- func (ke *Explorer) SetModel(model model.Model)
- func (ke *Explorer) SetParameters(params parameters.Map) error
- func (ke *Explorer) SetTemperature(temperature float64) error
- func (ke *Explorer) TearDown()
- func (ke *Explorer) TryRandomChange()
- func (ke *Explorer) WithCoolant(coolant cooling.TemperatureCoolant) *Explorer
- func (ke *Explorer) WithModel(model model.Model) *Explorer
- func (ke *Explorer) WithName(name string) *Explorer
- func (ke *Explorer) WithParameters(params parameters.Map) *Explorer
- type Parameters
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 (*Explorer) AcceptDesirableChange ¶
func (ke *Explorer) AcceptDesirableChange()
func (*Explorer) AcceptOrRevertChange ¶
func (*Explorer) AcceptUndesirableChange ¶
func (ke *Explorer) AcceptUndesirableChange()
func (*Explorer) EventAttributes ¶
func (ke *Explorer) EventAttributes(eventType observer.EventType) attributes.Attributes
func (*Explorer) Initialise ¶
func (ke *Explorer) Initialise()
func (*Explorer) ObjectiveValue ¶
func (*Explorer) ParameterErrors ¶
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) SetParameters ¶
func (ke *Explorer) SetParameters(params parameters.Map) error
func (*Explorer) SetTemperature ¶
func (*Explorer) TryRandomChange ¶
func (ke *Explorer) TryRandomChange()
func (*Explorer) WithCoolant ¶
func (ke *Explorer) WithCoolant(coolant cooling.TemperatureCoolant) *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
Click to show internal directories.
Click to hide internal directories.