Package hec.rss.model
Interface StateVariableJavaInfc
public interface StateVariableJavaInfc
The Interface StateVariableJavaInfc is used to create Java based State Variables.
Author: Shannon Larson of RMA
-
Method Summary
Modifier and TypeMethodDescriptionbooleancleanUp(StateVariable currentSV, RssSystem rssSys) Clean up the state variable.booleaninitialization(StateVariable currentSV, RssSystem rssSys) Initializes the state variable.voidmain(StateVariable currentSV, RunTimeStep currentRunTimeStep, RssSystem rssSys) Evaluate's the State Variable at each time step.
-
Method Details
-
initialization
Initializes the state variable. Replaces the Jython State Variable's "Initialization" script.- Parameters:
currentSV- the current state variablerssSys- the Network- Returns:
- true, if successful
-
main
Evaluate's the State Variable at each time step. Replaces the Jython State Variable's "Main" script.- Parameters:
currentSV- the current state varaiblecurrentRunTimeStep- the current run time steprssSys- the Network
-
cleanUp
Clean up the state variable. R eplaces the Jython State Variable's "CleanUp" script.- Parameters:
currentSV- the current state variablerssSys- the Network- Returns:
- true, if successful
-