Documentation ¶
Index ¶
- Variables
- type Model
- func (m *Model) AcceptChange()
- func (m *Model) ActiveManagementActions() []action.ManagementAction
- func (m *Model) ChangeIsValid() (bool, *errors.CompositeError)
- func (m *Model) DeepClone() model.Model
- func (m *Model) DoRandomChange()
- func (m *Model) Initialise(initialisationType model.InitialisationType)
- func (m *Model) IsEquivalentTo(otherModel model.Model) bool
- func (m *Model) ManagementActions() []action.ManagementAction
- func (m *Model) ObserveAction(action action.ManagementAction)
- func (m *Model) ObserveActionInitialising(action action.ManagementAction)
- func (m *Model) ObserveDecisionVariable(variable variable.DecisionVariable)
- func (m *Model) ParameterErrors() error
- func (m *Model) PlanningUnits() planningunit.Ids
- func (m *Model) Randomize()
- func (m *Model) RevertChange()
- func (m *Model) SetDecisionVariable(name string, value float64)
- func (m *Model) SetManagementAction(index int, value bool)
- func (m *Model) SetManagementActionUnobserved(index int, value bool)
- func (m *Model) SetParameters(params baseParameters.Map) error
- func (m *Model) SynchroniseTo(otherModel model.Model)
- func (m *Model) TearDown()
- func (m *Model) TryRandomChange()
- func (m *Model) UndoChange()
- func (m *Model) WithId(id string) *Model
- func (m *Model) WithName(name string) *Model
- func (m *Model) WithParameters(params baseParameters.Map) *Model
Constants ¶
This section is empty.
Variables ¶
View Source
var Objectives = []string{
"Objective_0",
"Objective_1",
"Objective_2",
}
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct { name.NameContainer name.IdentifiableContainer rand.RandContainer variable.ContainedDecisionVariables observer.SynchronousAnnealingEventNotifier // contains filtered or unexported fields }
func (*Model) AcceptChange ¶
func (m *Model) AcceptChange()
func (*Model) ActiveManagementActions ¶
func (m *Model) ActiveManagementActions() []action.ManagementAction
func (*Model) ChangeIsValid ¶
func (m *Model) ChangeIsValid() (bool, *errors.CompositeError)
func (*Model) DoRandomChange ¶
func (m *Model) DoRandomChange()
func (*Model) Initialise ¶
func (m *Model) Initialise(initialisationType model.InitialisationType)
func (*Model) ManagementActions ¶
func (m *Model) ManagementActions() []action.ManagementAction
func (*Model) ObserveAction ¶
func (m *Model) ObserveAction(action action.ManagementAction)
func (*Model) ObserveActionInitialising ¶
func (m *Model) ObserveActionInitialising(action action.ManagementAction)
func (*Model) ObserveDecisionVariable ¶
func (m *Model) ObserveDecisionVariable(variable variable.DecisionVariable)
func (*Model) ParameterErrors ¶
func (*Model) PlanningUnits ¶
func (m *Model) PlanningUnits() planningunit.Ids
func (*Model) RevertChange ¶
func (m *Model) RevertChange()
func (*Model) SetDecisionVariable ¶
func (*Model) SetManagementAction ¶
func (*Model) SetManagementActionUnobserved ¶
func (*Model) SetParameters ¶
func (m *Model) SetParameters(params baseParameters.Map) error
func (*Model) SynchroniseTo ¶
func (*Model) TryRandomChange ¶
func (m *Model) TryRandomChange()
func (*Model) UndoChange ¶
func (m *Model) UndoChange()
func (*Model) WithParameters ¶
func (m *Model) WithParameters(params baseParameters.Map) *Model
Click to show internal directories.
Click to hide internal directories.