Documentation ¶
Index ¶
- Constants
- func Float64ToSubCatchmentId(value float64) planningunit.Id
- type GullyRestorationCommand
- func (c *GullyRestorationCommand) Do() command.CommandStatus
- 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) WithChange(changeValue float64) *GullyRestorationCommand
- func (c *GullyRestorationCommand) WithNitrogenContribution(contribution 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) WithFilteredNitrogenContribution(contribution float64) *HillSlopeRevegetationCommand
- type ParticulateNitrogenProduction
- func (np *ParticulateNitrogenProduction) ApplyDoneValue()
- func (np *ParticulateNitrogenProduction) ApplyUndoneValue()
- func (np *ParticulateNitrogenProduction) DifferenceInValues() float64
- func (np *ParticulateNitrogenProduction) Initialise(subCatchmentsTable tables.CsvTable, actionsTable tables.CsvTable, ...) *ParticulateNitrogenProduction
- func (np *ParticulateNitrogenProduction) NotifyObservers()
- func (np *ParticulateNitrogenProduction) ObserveAction(action action.ManagementAction)
- func (np *ParticulateNitrogenProduction) ObserveActionInitialising(action action.ManagementAction)
- func (np *ParticulateNitrogenProduction) SetUndoableValue(value float64)
- func (np *ParticulateNitrogenProduction) UndoableValue() float64
- func (np *ParticulateNitrogenProduction) WithName(variableName string) *ParticulateNitrogenProduction
- func (np *ParticulateNitrogenProduction) WithObservers(observers ...variable.Observer) *ParticulateNitrogenProduction
- func (np *ParticulateNitrogenProduction) WithSedimentProductionVariable(variable *sedimentproduction.SedimentProduction) *ParticulateNitrogenProduction
- func (np *ParticulateNitrogenProduction) WithStartingValue(value float64) *ParticulateNitrogenProduction
- type RiverBankRestorationCommand
- func (c *RiverBankRestorationCommand) Do() command.CommandStatus
- 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) WithChange(changeValue float64) *RiverBankRestorationCommand
- func (c *RiverBankRestorationCommand) WithRiverBankNitrogenContribution(contribution float64) *RiverBankRestorationCommand
- func (c *RiverBankRestorationCommand) WithVegetationProportion(proportion float64) *RiverBankRestorationCommand
- 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 = "ParticulateNitrogen" RiverbankVegetationProportion = "RiverbankVegetationProportion" RiparianFineSediment = "RiparianFineSediment" RiparianNitrogenContribution = "RiparianNitrogenContribution" GullyNitrogenContribution = "GullyNitrogenContribution" WetlandRemovalEfficiency = "WetlandRemovalEfficiency" HillSlopeNitrogenContribution = "HillSlopeNitrogenContribution" )
Variables ¶
This section is empty.
Functions ¶
func Float64ToSubCatchmentId ¶
func Float64ToSubCatchmentId(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) 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) WithChange ¶
func (c *GullyRestorationCommand) WithChange(changeValue float64) *GullyRestorationCommand
func (*GullyRestorationCommand) WithNitrogenContribution ¶
func (c *GullyRestorationCommand) WithNitrogenContribution(contribution 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) WithFilteredNitrogenContribution ¶
func (c *HillSlopeRevegetationCommand) WithFilteredNitrogenContribution(contribution float64) *HillSlopeRevegetationCommand
type ParticulateNitrogenProduction ¶
type ParticulateNitrogenProduction struct { variable.PerPlanningUnitDecisionVariable variable.Bounds catchmentActions.Container // contains filtered or unexported fields }
func (*ParticulateNitrogenProduction) ApplyDoneValue ¶
func (np *ParticulateNitrogenProduction) ApplyDoneValue()
func (*ParticulateNitrogenProduction) ApplyUndoneValue ¶
func (np *ParticulateNitrogenProduction) ApplyUndoneValue()
func (*ParticulateNitrogenProduction) DifferenceInValues ¶
func (np *ParticulateNitrogenProduction) DifferenceInValues() float64
func (*ParticulateNitrogenProduction) Initialise ¶
func (np *ParticulateNitrogenProduction) Initialise(subCatchmentsTable tables.CsvTable, actionsTable tables.CsvTable, parameters catchmentParameters.Parameters) *ParticulateNitrogenProduction
func (*ParticulateNitrogenProduction) NotifyObservers ¶
func (np *ParticulateNitrogenProduction) NotifyObservers()
NotifyObservers allows structs embedding a BaseInductiveDecisionVariable to trigger a notification of change to any observers watching for state changes to the variableOld.
func (*ParticulateNitrogenProduction) ObserveAction ¶
func (np *ParticulateNitrogenProduction) ObserveAction(action action.ManagementAction)
func (*ParticulateNitrogenProduction) ObserveActionInitialising ¶
func (np *ParticulateNitrogenProduction) ObserveActionInitialising(action action.ManagementAction)
func (*ParticulateNitrogenProduction) SetUndoableValue ¶
func (np *ParticulateNitrogenProduction) SetUndoableValue(value float64)
func (*ParticulateNitrogenProduction) UndoableValue ¶
func (np *ParticulateNitrogenProduction) UndoableValue() float64
func (*ParticulateNitrogenProduction) WithName ¶
func (np *ParticulateNitrogenProduction) WithName(variableName string) *ParticulateNitrogenProduction
func (*ParticulateNitrogenProduction) WithObservers ¶
func (np *ParticulateNitrogenProduction) WithObservers(observers ...variable.Observer) *ParticulateNitrogenProduction
func (*ParticulateNitrogenProduction) WithSedimentProductionVariable ¶
func (np *ParticulateNitrogenProduction) WithSedimentProductionVariable(variable *sedimentproduction.SedimentProduction) *ParticulateNitrogenProduction
func (*ParticulateNitrogenProduction) WithStartingValue ¶
func (np *ParticulateNitrogenProduction) WithStartingValue(value float64) *ParticulateNitrogenProduction
type RiverBankRestorationCommand ¶
type RiverBankRestorationCommand struct { variable.ChangePerPlanningUnitDecisionVariableCommand // contains filtered or unexported fields }
func (*RiverBankRestorationCommand) Do ¶
func (c *RiverBankRestorationCommand) Do() command.CommandStatus
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) WithChange ¶
func (c *RiverBankRestorationCommand) WithChange(changeValue float64) *RiverBankRestorationCommand
func (*RiverBankRestorationCommand) WithRiverBankNitrogenContribution ¶
func (c *RiverBankRestorationCommand) WithRiverBankNitrogenContribution(contribution float64) *RiverBankRestorationCommand
func (*RiverBankRestorationCommand) WithVegetationProportion ¶
func (c *RiverBankRestorationCommand) WithVegetationProportion(proportion float64) *RiverBankRestorationCommand
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.