Package hec.rss.model

Interface ITimeStepRoutingElement

All Known Implementing Classes:
ReachElement, TimeStepRoutingElement

public interface ITimeStepRoutingElement
  • Method Details

    • getFunction

      Function getFunction(Duration d, Function defaultF)
      Returns a Function based on a duration as a query item. If the return value is NULL, then the defaultFunction is returned
      Parameters:
      d -
      defaultF - return if map.get(d) == null
      Returns:
    • putFunction

      void putFunction(Duration d, Function f)
      Sets a function to used based on a duration
      Parameters:
      d -
      f -
    • getDefinedTimeStepDurations

      Duration[] getDefinedTimeStepDurations()
      Returns an array of Durations for which a Routing Function is defined.
      Returns: