variables

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DumbObjective

type DumbObjective struct {
	variable.PerPlanningUnitDecisionVariable
	// contains filtered or unexported fields
}

func (*DumbObjective) ApplyDoneValue

func (o *DumbObjective) ApplyDoneValue()

func (*DumbObjective) ApplyUndoneValue

func (o *DumbObjective) ApplyUndoneValue()

func (*DumbObjective) DifferenceInValues

func (o *DumbObjective) DifferenceInValues() float64

func (*DumbObjective) Initialise

func (o *DumbObjective) Initialise() *DumbObjective

func (*DumbObjective) NotifyObservers

func (o *DumbObjective) NotifyObservers()

NotifyObservers allows structs embedding a BaseInductiveDecisionVariable to trigger a notification of change to any observers watching for state changes to the variableOld.

func (*DumbObjective) ObserveAction

func (o *DumbObjective) ObserveAction(action action.ManagementAction)

func (*DumbObjective) ObserveActionInitialising

func (o *DumbObjective) ObserveActionInitialising(action action.ManagementAction)

func (*DumbObjective) SetUndoableValue

func (o *DumbObjective) SetUndoableValue(value float64)

func (*DumbObjective) UndoableValue

func (o *DumbObjective) UndoableValue() float64

func (*DumbObjective) WithName

func (o *DumbObjective) WithName(variableName string) *DumbObjective

func (*DumbObjective) WithObservers

func (o *DumbObjective) WithObservers(observers ...variable.Observer) *DumbObjective

func (*DumbObjective) WithStartingValue

func (o *DumbObjective) WithStartingValue(value float64) *DumbObjective

Jump to

Keyboard shortcuts

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