Documentation ¶
Index ¶
- Constants
- func Float64ToPlanningUnitId(value float64) planningunit.Id
- type GullyRestorationCommand
- func (c *GullyRestorationCommand) Do() command.CommandStatus
- func (c *GullyRestorationCommand) DoneGullyContribution() float64
- func (c *GullyRestorationCommand) ForVariable(variable variable.PlanningUnitDecisionVariable) *GullyRestorationCommand
- func (c *GullyRestorationCommand) InPlanningUnit(planningUnit planningunit.Id) *GullyRestorationCommand
- func (c *GullyRestorationCommand) Undo() command.CommandStatus
- func (c *GullyRestorationCommand) UndoneGullyContribution() float64
- func (c *GullyRestorationCommand) WithChange(changeValue float64) *GullyRestorationCommand
- type HillSlopeRevegetationCommand
- func (c *HillSlopeRevegetationCommand) Do() command.CommandStatus
- func (c *HillSlopeRevegetationCommand) DoneHillSlopeContribution() float64
- func (c *HillSlopeRevegetationCommand) ForVariable(variable variable.PlanningUnitDecisionVariable) *HillSlopeRevegetationCommand
- func (c *HillSlopeRevegetationCommand) InPlanningUnit(planningUnit planningunit.Id) *HillSlopeRevegetationCommand
- func (c *HillSlopeRevegetationCommand) Undo() command.CommandStatus
- func (c *HillSlopeRevegetationCommand) UndoneHillSlopeContribution() float64
- func (c *HillSlopeRevegetationCommand) WithChange(changeValue float64) *HillSlopeRevegetationCommand
- func (c *HillSlopeRevegetationCommand) WithSedimentContribution(contribution float64) *HillSlopeRevegetationCommand
- type RiverBankRestorationCommand
- func (c *RiverBankRestorationCommand) Do() command.CommandStatus
- func (c *RiverBankRestorationCommand) DoneRiverbankContribution() float64
- func (c *RiverBankRestorationCommand) ForVariable(variable variable.PlanningUnitDecisionVariable) *RiverBankRestorationCommand
- func (c *RiverBankRestorationCommand) InPlanningUnit(planningUnit planningunit.Id) *RiverBankRestorationCommand
- func (c *RiverBankRestorationCommand) Undo() command.CommandStatus
- func (c *RiverBankRestorationCommand) UndoneRiverbankContribution() float64
- func (c *RiverBankRestorationCommand) WithChange(changeValue float64) *RiverBankRestorationCommand
- func (c *RiverBankRestorationCommand) WithRiverBankContribution(contribution float64) *RiverBankRestorationCommand
- func (c *RiverBankRestorationCommand) WithVegetationProportion(proportion float64) *RiverBankRestorationCommand
- type SedimentProduction
- func (sl *SedimentProduction) ApplyDoneValue()
- func (sl *SedimentProduction) ApplyUndoneValue()
- func (sl *SedimentProduction) Command() variable.ChangeCommand
- func (sl *SedimentProduction) DifferenceInValues() float64
- func (sl *SedimentProduction) Initialise(dataSet *dataset.DataSetImpl, parameters catchmentParameters.Parameters) *SedimentProduction
- func (sl *SedimentProduction) NumberOfPlanningUnits() uint
- func (sl *SedimentProduction) ObserveAction(action action.ManagementAction)
- func (sl *SedimentProduction) ObserveActionInitialising(action action.ManagementAction)
- func (sl *SedimentProduction) PlanningUnitAttributes() map[planningunit.Id]attributes.Attributes
- func (sl *SedimentProduction) SetUndoableValue(value float64)
- func (sl *SedimentProduction) UndoableValue() float64
- func (sl *SedimentProduction) WithObservers(observers ...variable.Observer) *SedimentProduction
- type WetlandsEstablishmentCommand
- func (c *WetlandsEstablishmentCommand) Do() command.CommandStatus
- func (c *WetlandsEstablishmentCommand) DoneRemovalEfficiency() float64
- func (c *WetlandsEstablishmentCommand) ForVariable(variable variable.PlanningUnitDecisionVariable) *WetlandsEstablishmentCommand
- func (c *WetlandsEstablishmentCommand) InPlanningUnit(planningUnit planningunit.Id) *WetlandsEstablishmentCommand
- func (c *WetlandsEstablishmentCommand) Undo() command.CommandStatus
- func (c *WetlandsEstablishmentCommand) UndoneRemovalEfficiency() float64
- func (c *WetlandsEstablishmentCommand) WithChange(changeValue float64) *WetlandsEstablishmentCommand
- func (c *WetlandsEstablishmentCommand) WithRemovalEfficiency(efficiency float64) *WetlandsEstablishmentCommand
Constants ¶
View Source
const ( VariableName = "SedimentProduction" RiverbankVegetationProportion = "RiverbankVegetationProportion" RiverbankSedimentContribution = "RiverbankSedimentContribution" GullySedimentContribution = "GullySedimentContribution" HillSlopeVegetationProportion = "HillSlopeVegetationProportion" WetlandRemovalEfficiency = "WetlandRemovalEfficiency" HillSlopeSedimentContribution = "HillSlopeSedimentContribution" )
Variables ¶
This section is empty.
Functions ¶
func Float64ToPlanningUnitId ¶
func Float64ToPlanningUnitId(value float64) planningunit.Id
Types ¶
type GullyRestorationCommand ¶
type GullyRestorationCommand struct { variable.ChangePerPlanningUnitDecisionVariableCommand // contains filtered or unexported fields }
func (*GullyRestorationCommand) Do ¶
func (c *GullyRestorationCommand) Do() command.CommandStatus
func (*GullyRestorationCommand) DoneGullyContribution ¶
func (c *GullyRestorationCommand) DoneGullyContribution() float64
func (*GullyRestorationCommand) ForVariable ¶
func (c *GullyRestorationCommand) ForVariable(variable variable.PlanningUnitDecisionVariable) *GullyRestorationCommand
func (*GullyRestorationCommand) InPlanningUnit ¶
func (c *GullyRestorationCommand) InPlanningUnit(planningUnit planningunit.Id) *GullyRestorationCommand
func (*GullyRestorationCommand) Undo ¶
func (c *GullyRestorationCommand) Undo() command.CommandStatus
func (*GullyRestorationCommand) UndoneGullyContribution ¶
func (c *GullyRestorationCommand) UndoneGullyContribution() float64
func (*GullyRestorationCommand) WithChange ¶
func (c *GullyRestorationCommand) WithChange(changeValue float64) *GullyRestorationCommand
type HillSlopeRevegetationCommand ¶
type HillSlopeRevegetationCommand struct { variable.ChangePerPlanningUnitDecisionVariableCommand // contains filtered or unexported fields }
func (*HillSlopeRevegetationCommand) Do ¶
func (c *HillSlopeRevegetationCommand) Do() command.CommandStatus
func (*HillSlopeRevegetationCommand) DoneHillSlopeContribution ¶
func (c *HillSlopeRevegetationCommand) DoneHillSlopeContribution() float64
func (*HillSlopeRevegetationCommand) ForVariable ¶
func (c *HillSlopeRevegetationCommand) ForVariable(variable variable.PlanningUnitDecisionVariable) *HillSlopeRevegetationCommand
func (*HillSlopeRevegetationCommand) InPlanningUnit ¶
func (c *HillSlopeRevegetationCommand) InPlanningUnit(planningUnit planningunit.Id) *HillSlopeRevegetationCommand
func (*HillSlopeRevegetationCommand) Undo ¶
func (c *HillSlopeRevegetationCommand) Undo() command.CommandStatus
func (*HillSlopeRevegetationCommand) UndoneHillSlopeContribution ¶
func (c *HillSlopeRevegetationCommand) UndoneHillSlopeContribution() float64
func (*HillSlopeRevegetationCommand) WithChange ¶
func (c *HillSlopeRevegetationCommand) WithChange(changeValue float64) *HillSlopeRevegetationCommand
func (*HillSlopeRevegetationCommand) WithSedimentContribution ¶
func (c *HillSlopeRevegetationCommand) WithSedimentContribution(contribution float64) *HillSlopeRevegetationCommand
type RiverBankRestorationCommand ¶
type RiverBankRestorationCommand struct { variable.ChangePerPlanningUnitDecisionVariableCommand // contains filtered or unexported fields }
func (*RiverBankRestorationCommand) Do ¶
func (c *RiverBankRestorationCommand) Do() command.CommandStatus
func (*RiverBankRestorationCommand) DoneRiverbankContribution ¶
func (c *RiverBankRestorationCommand) DoneRiverbankContribution() float64
func (*RiverBankRestorationCommand) ForVariable ¶
func (c *RiverBankRestorationCommand) ForVariable(variable variable.PlanningUnitDecisionVariable) *RiverBankRestorationCommand
func (*RiverBankRestorationCommand) InPlanningUnit ¶
func (c *RiverBankRestorationCommand) InPlanningUnit(planningUnit planningunit.Id) *RiverBankRestorationCommand
func (*RiverBankRestorationCommand) Undo ¶
func (c *RiverBankRestorationCommand) Undo() command.CommandStatus
func (*RiverBankRestorationCommand) UndoneRiverbankContribution ¶
func (c *RiverBankRestorationCommand) UndoneRiverbankContribution() float64
func (*RiverBankRestorationCommand) WithChange ¶
func (c *RiverBankRestorationCommand) WithChange(changeValue float64) *RiverBankRestorationCommand
func (*RiverBankRestorationCommand) WithRiverBankContribution ¶
func (c *RiverBankRestorationCommand) WithRiverBankContribution(contribution float64) *RiverBankRestorationCommand
func (*RiverBankRestorationCommand) WithVegetationProportion ¶
func (c *RiverBankRestorationCommand) WithVegetationProportion(proportion float64) *RiverBankRestorationCommand
type SedimentProduction ¶
type SedimentProduction struct { variable.PerPlanningUnitDecisionVariable variable.Bounds // contains filtered or unexported fields }
func (*SedimentProduction) ApplyDoneValue ¶
func (sl *SedimentProduction) ApplyDoneValue()
func (*SedimentProduction) ApplyUndoneValue ¶
func (sl *SedimentProduction) ApplyUndoneValue()
func (*SedimentProduction) Command ¶
func (sl *SedimentProduction) Command() variable.ChangeCommand
func (*SedimentProduction) DifferenceInValues ¶
func (sl *SedimentProduction) DifferenceInValues() float64
func (*SedimentProduction) Initialise ¶
func (sl *SedimentProduction) Initialise(dataSet *dataset.DataSetImpl, parameters catchmentParameters.Parameters) *SedimentProduction
func (*SedimentProduction) NumberOfPlanningUnits ¶
func (sl *SedimentProduction) NumberOfPlanningUnits() uint
func (*SedimentProduction) ObserveAction ¶
func (sl *SedimentProduction) ObserveAction(action action.ManagementAction)
func (*SedimentProduction) ObserveActionInitialising ¶
func (sl *SedimentProduction) ObserveActionInitialising(action action.ManagementAction)
func (*SedimentProduction) PlanningUnitAttributes ¶
func (sl *SedimentProduction) PlanningUnitAttributes() map[planningunit.Id]attributes.Attributes
func (*SedimentProduction) SetUndoableValue ¶
func (sl *SedimentProduction) SetUndoableValue(value float64)
func (*SedimentProduction) UndoableValue ¶
func (sl *SedimentProduction) UndoableValue() float64
func (*SedimentProduction) WithObservers ¶
func (sl *SedimentProduction) WithObservers(observers ...variable.Observer) *SedimentProduction
type WetlandsEstablishmentCommand ¶
type WetlandsEstablishmentCommand struct { variable.ChangePerPlanningUnitDecisionVariableCommand // contains filtered or unexported fields }
func (*WetlandsEstablishmentCommand) Do ¶
func (c *WetlandsEstablishmentCommand) Do() command.CommandStatus
func (*WetlandsEstablishmentCommand) DoneRemovalEfficiency ¶
func (c *WetlandsEstablishmentCommand) DoneRemovalEfficiency() float64
func (*WetlandsEstablishmentCommand) ForVariable ¶
func (c *WetlandsEstablishmentCommand) ForVariable(variable variable.PlanningUnitDecisionVariable) *WetlandsEstablishmentCommand
func (*WetlandsEstablishmentCommand) InPlanningUnit ¶
func (c *WetlandsEstablishmentCommand) InPlanningUnit(planningUnit planningunit.Id) *WetlandsEstablishmentCommand
func (*WetlandsEstablishmentCommand) Undo ¶
func (c *WetlandsEstablishmentCommand) Undo() command.CommandStatus
func (*WetlandsEstablishmentCommand) UndoneRemovalEfficiency ¶
func (c *WetlandsEstablishmentCommand) UndoneRemovalEfficiency() float64
func (*WetlandsEstablishmentCommand) WithChange ¶
func (c *WetlandsEstablishmentCommand) WithChange(changeValue float64) *WetlandsEstablishmentCommand
func (*WetlandsEstablishmentCommand) WithRemovalEfficiency ¶
func (c *WetlandsEstablishmentCommand) WithRemovalEfficiency(efficiency float64) *WetlandsEstablishmentCommand
Click to show internal directories.
Click to hide internal directories.