Documentation ¶
Index ¶
- Constants
- func Float64ToSubCatchmentId(value float64) planningunit.Id
- type TotalNitrogenProduction
- func (tn *TotalNitrogenProduction) ApplyDoneValue()
- func (tn *TotalNitrogenProduction) ApplyUndoneValue()
- func (tn *TotalNitrogenProduction) DifferenceInValues() float64
- func (tn *TotalNitrogenProduction) Initialise(subCatchmentsTable tables.CsvTable, actionsTable tables.CsvTable, ...) *TotalNitrogenProduction
- func (tn *TotalNitrogenProduction) NotifyObservers()
- func (tn *TotalNitrogenProduction) ObserveAction(action action.ManagementAction)
- func (tn *TotalNitrogenProduction) ObserveActionInitialising(action action.ManagementAction)
- func (tn *TotalNitrogenProduction) SetUndoableValue(value float64)
- func (tn *TotalNitrogenProduction) UndoableValue() float64
- func (tn *TotalNitrogenProduction) WithBaseNitrogenVariables(particulate *particulatenitrogen.ParticulateNitrogenProduction, ...) *TotalNitrogenProduction
- func (tn *TotalNitrogenProduction) WithName(variableName string) *TotalNitrogenProduction
- func (tn *TotalNitrogenProduction) WithObservers(observers ...variable.Observer) *TotalNitrogenProduction
- func (tn *TotalNitrogenProduction) WithStartingValue(value float64) *TotalNitrogenProduction
Constants ¶
View Source
const ( VariableName = "TotalNitrogen" ProportionOfRiparianVegetation = "ProportionOfRiparianVegetation" RiparianDissolvedNitrogenRemovalEfficiency = "RiparianDissolvedNitrogenRemovalEfficiency" WetlandsDissolvedNitrogenRemovalEfficiency = "WetlandsDissolvedNitrogenRemovalEfficiency" RiparianNitrogenContribution = "RiparianNitrogenContribution" GullyNitrogenContribution = "GullyNitrogenContribution" HillSlopeNitrogenContribution = "HillSlopeNitrogenContribution" )
Variables ¶
This section is empty.
Functions ¶
func Float64ToSubCatchmentId ¶
func Float64ToSubCatchmentId(value float64) planningunit.Id
Types ¶
type TotalNitrogenProduction ¶
type TotalNitrogenProduction struct { variable.PerPlanningUnitDecisionVariable variable.Bounds catchmentActions.Container LastUpdated string // contains filtered or unexported fields }
func (*TotalNitrogenProduction) ApplyDoneValue ¶
func (tn *TotalNitrogenProduction) ApplyDoneValue()
func (*TotalNitrogenProduction) ApplyUndoneValue ¶
func (tn *TotalNitrogenProduction) ApplyUndoneValue()
func (*TotalNitrogenProduction) DifferenceInValues ¶
func (tn *TotalNitrogenProduction) DifferenceInValues() float64
func (*TotalNitrogenProduction) Initialise ¶
func (tn *TotalNitrogenProduction) Initialise(subCatchmentsTable tables.CsvTable, actionsTable tables.CsvTable, parameters catchmentParameters.Parameters) *TotalNitrogenProduction
func (*TotalNitrogenProduction) NotifyObservers ¶
func (tn *TotalNitrogenProduction) NotifyObservers()
NotifyObservers allows structs embedding a BaseInductiveDecisionVariable to trigger a notification of change to any observers watching for state changes to the variableOld.
func (*TotalNitrogenProduction) ObserveAction ¶
func (tn *TotalNitrogenProduction) ObserveAction(action action.ManagementAction)
func (*TotalNitrogenProduction) ObserveActionInitialising ¶
func (tn *TotalNitrogenProduction) ObserveActionInitialising(action action.ManagementAction)
func (*TotalNitrogenProduction) SetUndoableValue ¶
func (tn *TotalNitrogenProduction) SetUndoableValue(value float64)
func (*TotalNitrogenProduction) UndoableValue ¶
func (tn *TotalNitrogenProduction) UndoableValue() float64
func (*TotalNitrogenProduction) WithBaseNitrogenVariables ¶
func (tn *TotalNitrogenProduction) WithBaseNitrogenVariables(particulate *particulatenitrogen.ParticulateNitrogenProduction, dissolved *dissolvednitrogen.DissolvedNitrogenProduction) *TotalNitrogenProduction
func (*TotalNitrogenProduction) WithName ¶
func (tn *TotalNitrogenProduction) WithName(variableName string) *TotalNitrogenProduction
func (*TotalNitrogenProduction) WithObservers ¶
func (tn *TotalNitrogenProduction) WithObservers(observers ...variable.Observer) *TotalNitrogenProduction
func (*TotalNitrogenProduction) WithStartingValue ¶
func (tn *TotalNitrogenProduction) WithStartingValue(value float64) *TotalNitrogenProduction
Click to show internal directories.
Click to hide internal directories.