Documentation
¶
Index ¶
- Constants
- func ParameterSpecifications() *Specifications
- type Coolant
- func (c *Coolant) AcceptanceProbability() float64
- func (c *Coolant) CoolDown()
- func (c *Coolant) CoolingFactor() float64
- func (c *Coolant) DecideIfAcceptable(variableChanges []float64) bool
- func (c *Coolant) Initialise() *Coolant
- func (c *Coolant) ParameterErrors() error
- func (c *Coolant) SetAcceptanceProbability(acceptanceProbability float64)
- func (c *Coolant) SetParameters(params parameters.Map) error
- func (c *Coolant) SetTemperature(temperature float64)
- func (c *Coolant) Temperature() float64
- func (c *Coolant) WithParameters(params parameters.Map) *Coolant
- type Parameters
Constants ¶
View Source
const ( CoolingFactor string = "CoolingFactor" StartingTemperature string = "StartingTemperature" )
Variables ¶
This section is empty.
Functions ¶
func ParameterSpecifications ¶
func ParameterSpecifications() *Specifications
Types ¶
type Coolant ¶
type Coolant struct { rand.RandContainer // contains filtered or unexported fields }
func NewCoolant ¶
func NewCoolant() *Coolant
func (*Coolant) AcceptanceProbability ¶
func (*Coolant) CoolingFactor ¶
func (*Coolant) DecideIfAcceptable ¶
func (*Coolant) Initialise ¶
func (*Coolant) ParameterErrors ¶
func (*Coolant) SetAcceptanceProbability ¶
func (*Coolant) SetParameters ¶
func (c *Coolant) SetParameters(params parameters.Map) error
func (*Coolant) SetTemperature ¶
func (*Coolant) Temperature ¶
func (*Coolant) WithParameters ¶
func (c *Coolant) WithParameters(params parameters.Map) *Coolant
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.