sedimentproduction

package
v0.0.0-...-c864ae1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2023 License: BSD-2-Clause, BSD-3-Clause, MIT Imports: 11 Imported by: 0

Documentation

Index

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 (*GullyRestorationCommand) DoneGullyContribution

func (c *GullyRestorationCommand) DoneGullyContribution() float64

func (*GullyRestorationCommand) ForVariable

func (*GullyRestorationCommand) InPlanningUnit

func (c *GullyRestorationCommand) InPlanningUnit(planningUnit planningunit.Id) *GullyRestorationCommand

func (*GullyRestorationCommand) Undo

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 (*HillSlopeRevegetationCommand) DoneHillSlopeContribution

func (c *HillSlopeRevegetationCommand) DoneHillSlopeContribution() float64

func (*HillSlopeRevegetationCommand) ForVariable

func (*HillSlopeRevegetationCommand) InPlanningUnit

func (*HillSlopeRevegetationCommand) Undo

func (*HillSlopeRevegetationCommand) UndoneHillSlopeContribution

func (c *HillSlopeRevegetationCommand) UndoneHillSlopeContribution() float64

func (*HillSlopeRevegetationCommand) WithChange

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 (*RiverBankRestorationCommand) DoneRiverbankContribution

func (c *RiverBankRestorationCommand) DoneRiverbankContribution() float64

func (*RiverBankRestorationCommand) ForVariable

func (*RiverBankRestorationCommand) InPlanningUnit

func (*RiverBankRestorationCommand) Undo

func (*RiverBankRestorationCommand) UndoneRiverbankContribution

func (c *RiverBankRestorationCommand) UndoneRiverbankContribution() float64

func (*RiverBankRestorationCommand) WithChange

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 (*SedimentProduction) DifferenceInValues

func (sl *SedimentProduction) DifferenceInValues() float64

func (*SedimentProduction) Initialise

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 (*WetlandsEstablishmentCommand) DoneRemovalEfficiency

func (c *WetlandsEstablishmentCommand) DoneRemovalEfficiency() float64

func (*WetlandsEstablishmentCommand) ForVariable

func (*WetlandsEstablishmentCommand) InPlanningUnit

func (*WetlandsEstablishmentCommand) Undo

func (*WetlandsEstablishmentCommand) UndoneRemovalEfficiency

func (c *WetlandsEstablishmentCommand) UndoneRemovalEfficiency() float64

func (*WetlandsEstablishmentCommand) WithChange

func (*WetlandsEstablishmentCommand) WithRemovalEfficiency

func (c *WetlandsEstablishmentCommand) WithRemovalEfficiency(efficiency float64) *WetlandsEstablishmentCommand

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL