explorer

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

Documentation

Index

Constants

View Source
const (
	ChangeIsDesirable   = "ChangeIsDesirable"
	ChangeInvalid       = "ChangeInvalid"
	ReasonChangeInvalid = "ReasonChangeInvalid"

	Temperature   = "Temperature"
	CoolingFactor = "CoolingFactor"

	AcceptanceProbability = "AcceptanceProbability"
	ChangeAccepted        = "ChangeAccepted"
)
View Source
const Guaranteed = 1

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainedExplorer

type ContainedExplorer struct {
	// contains filtered or unexported fields
}

ContainedExplorer is a struct offering a default implementation of ContainedLogger

func (*ContainedExplorer) SetSolutionExplorer

func (e *ContainedExplorer) SetSolutionExplorer(explorer Explorer) error

func (*ContainedExplorer) SolutionExplorer

func (e *ContainedExplorer) SolutionExplorer() Explorer

type Container

type Container interface {
	SolutionExplorer() Explorer
	SetSolutionExplorer(explorer Explorer) error
}

Container defines an interface embedding an Explorer

type Explorer

type Explorer interface {
	name.Nameable
	name.Identifiable
	model.Container
	parameters.Container
	logging.Container

	DeepClone() Explorer
	Initialise()
	TearDown()

	TryRandomChange()

	CoolDown()
	EventAttributes(eventType observer.EventType) attributes.Attributes
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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