Package hec.rss.model

Class OpValueSet

java.lang.Object
hec.rss.model.OpValueSet

public class OpValueSet extends Object
Operations Value Set is used by the OpController class to manage a transient list of prioritized operating rules. Objects of this class are intended to be transient and so the class NOT AsciiSerializable.
  • Constructor Details

    • OpValueSet

      public OpValueSet()
      default constructor
  • Method Details

    • initialize

      public void initialize(double max, double min)
      Initializes the set to contain two elements representing the max and min physical limits
      Parameters:
      max - physical maximum flow limit
      min - physical minimum flow limit
    • addOpValue

      public void addOpValue(OpValue ov)
      Adds a value to the set and sorts the set in ascending order
      Parameters:
      ov - OpValue object to be added to the set