Documentation ¶
Index ¶
- Constants
- func ParameterSpecifications() *Specifications
- type Model
- func (m *Model) AcceptChange()
- func (m *Model) ActiveManagementActions() []action.ManagementAction
- func (m *Model) ChangeIsValid() (bool, *errors.CompositeError)
- func (m *Model) DecisionVariable(name string) variable.DecisionVariable
- func (m *Model) DecisionVariableChange(decisionVariableName string) float64
- 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) NameMappedVariables() *variable.DecisionVariableMap
- func (m *Model) OffersDecisionVariable(name string) bool
- 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 parameters.Map) error
- func (m *Model) SynchroniseTo(otherModel model.Model)
- func (m *Model) TearDown()
- func (m *Model) TryRandomChange()
- func (m *Model) UndoChange()
- func (m *Model) WithName(name string) *Model
- func (m *Model) WithParameters(params parameters.Map) *Model
- type Parameters
Constants ¶
View Source
const ( InitialObjectiveValue = "InitialObjectiveValue" MinimumObjectiveValue = "MinimumObjectiveValue" MaximumObjectiveValue = "MaximumObjectiveValue" )
Variables ¶
This section is empty.
Functions ¶
func ParameterSpecifications ¶
func ParameterSpecifications() *Specifications
Types ¶
type Model ¶
type Model struct { name.NameContainer name.IdentifiableContainer rand.RandContainer // 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) DecisionVariable ¶
func (m *Model) DecisionVariable(name string) variable.DecisionVariable
func (*Model) DecisionVariableChange ¶
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) NameMappedVariables ¶
func (m *Model) NameMappedVariables() *variable.DecisionVariableMap
func (*Model) OffersDecisionVariable ¶
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 parameters.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 parameters.Map) *Model
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.