Documentation ¶
Index ¶
- type DumbObjective
- func (o *DumbObjective) ApplyDoneValue()
- func (o *DumbObjective) ApplyUndoneValue()
- func (o *DumbObjective) DifferenceInValues() float64
- func (o *DumbObjective) Initialise() *DumbObjective
- func (o *DumbObjective) NotifyObservers()
- func (o *DumbObjective) ObserveAction(action action.ManagementAction)
- func (o *DumbObjective) ObserveActionInitialising(action action.ManagementAction)
- func (o *DumbObjective) SetUndoableValue(value float64)
- func (o *DumbObjective) UndoableValue() float64
- func (o *DumbObjective) WithName(variableName string) *DumbObjective
- func (o *DumbObjective) WithObservers(observers ...variable.Observer) *DumbObjective
- func (o *DumbObjective) WithStartingValue(value float64) *DumbObjective
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
Click to show internal directories.
Click to hide internal directories.