uaa.feral.physical.behaviors
Class StaticDischargeModel

java.lang.Object
  extended by uaa.feral.physical.behaviors.EvolveHydrology
      extended by uaa.feral.physical.behaviors.StaticDischargeModel
All Implemented Interfaces:
HydroBehavior

public class StaticDischargeModel
extends EvolveHydrology

Static model that returns discharge for a given time interval without estimation or other calculations

Author:
Mark Altaweel

Constructor Summary
StaticDischargeModel()
           
 
Method Summary
 void runModel()
          Method to run the model
 void setDischargeInfo(java.lang.String river, int month, java.util.Map<java.lang.Integer,double[]> sample)
          Setter for monthly discharge data
 
Methods inherited from class uaa.feral.physical.behaviors.EvolveHydrology
CreateHydroModel, getDegradeAmount, getName, getScenarioData, getWaterBodyData, getWaterQuantityByBody, isDegradeQuantity, setData, setDegradeAmount, setDegradeQuantity, setScenarioData, setTickReset, setupModelData
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticDischargeModel

public StaticDischargeModel()
Method Detail

setDischargeInfo

public void setDischargeInfo(java.lang.String river,
                             int month,
                             java.util.Map<java.lang.Integer,double[]> sample)
Description copied from interface: HydroBehavior
Setter for monthly discharge data

month - the time data is saved for (e.g. month, day, etc.)
sample - the discharge data associated with the month

runModel

public void runModel()
Description copied from interface: HydroBehavior
Method to run the model

Specified by:
runModel in interface HydroBehavior
Overrides:
runModel in class EvolveHydrology