Package hec.rss.model
Class OpValueSet
java.lang.Object
hec.rss.model.OpValueSet
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOpValue(OpValue ov) Adds a value to the set and sorts the set in ascending ordervoidinitialize(double max, double min) Initializes the set to contain two elements representing the max and min physical limits
-
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 limitmin- physical minimum flow limit
-
addOpValue
Adds a value to the set and sorts the set in ascending order- Parameters:
ov- OpValue object to be added to the set
-