public class DownstreamOptions extends java.lang.Object implements AsciiSerializable, java.io.Serializable, java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
static double |
LAG_FLOW_TOLERANCE
The Lag Flow Tolerance
|
static double |
LAG_FRACTION_LIMIT
The lag Fraction Limit.
|
static int |
LAG_MAX_ITERATIONS
The Lag Max Iterations
|
static int |
MAX_LOOKAHEAD_ROC
The Max number of time steps to lookahead
|
static double |
MULTIPLIER_RTW
Multiplier on estimated routing lag
|
static double |
PREDICTOR_CORRECTION_FACTOR
The Predictor Correction Fraction
|
static int |
PREDICTOR_MAX_ITERATIONS
The number of times corrections on the Predictor Corrector method
is a multiple of this number
|
static boolean |
USE_CONSIDER_ROC
The Use Consider Rate of Change option
|
static boolean |
USE_CONSIDER_RTW
The Use Consider Multiplier on estimated routing lag
|
static boolean |
USE_LAGGED_SPACE_ADJ
flag triggering use of lagged space correction algorithm
|
static boolean |
USE_PREDICTOR
The Use Predictor Corrector.
|
| Constructor and Description |
|---|
DownstreamOptions()
Instantiates a new downstream options.
|
| Modifier and Type | Method and Description |
|---|---|
DownstreamOptions |
clone()
clone this object
|
java.lang.Object |
getFieldObject(java.lang.reflect.Field fld)
This method allows access to java.lang.reflect.Field objects within the implementing
class.
|
double |
getLagFlowTolerance()
Gets the lag flow tolerance.
|
double |
getLagFractionLimit()
Gets the lag fraction limit.
|
int |
getLagMaxIterations()
Gets the lag max iterations.
|
int |
getMaxLookaheadROC()
Gets the max lookahead roc.
|
double |
getMultiplierRTW() |
double |
getPredictorCorrectionFactor()
Gets the predictor correction factor.
|
int |
getPredictorMaxIterations()
Gets the predictor max iterations.
|
boolean |
getUseConsiderROC()
Gets the use consider roc.
|
boolean |
getUseConsiderRTW() |
boolean |
getUseLaggedSpaceAdj()
Gets the use lagged space adj.
|
void |
resetDefaults()
Reset defaults.
|
boolean |
setFieldObject(java.lang.reflect.Field fld,
java.lang.Object fobj)
This allows access to fields withing the implementing object to set there data.
|
void |
setLagFlowTolerance(double value)
Sets the lag flow tolerance.
|
void |
setLagFractionLimit(double value)
Sets the lag fraction limit.
|
void |
setLagMaxIterations(int value)
Sets the lag max iterations.
|
void |
setMaxLookaheadROC(int value)
Sets the max lookahead roc.
|
void |
setMultiplierRTW(double value) |
void |
setPredictorCorrectionFactor(double value)
Sets the predictor correction factor.
|
void |
setPredictorMaxIterations(int value)
Sets the predictor max iterations.
|
void |
setUseConsiderROC(boolean value)
Sets the use consider roc.
|
void |
setUseConsiderRTW(boolean value) |
void |
setUseLaggedSpaceAdj(boolean set)
Sets the use lagged space adj.
|
void |
setUsePredictorFractionLimit(boolean value)
Sets the use predictor fraction limit.
|
boolean |
usePredictor()
Use predictor.
|
public static boolean USE_LAGGED_SPACE_ADJ
public static int LAG_MAX_ITERATIONS
public static double LAG_FLOW_TOLERANCE
public static double LAG_FRACTION_LIMIT
public static boolean USE_PREDICTOR
public static int PREDICTOR_MAX_ITERATIONS
public static double PREDICTOR_CORRECTION_FACTOR
public static boolean USE_CONSIDER_ROC
public static int MAX_LOOKAHEAD_ROC
public static boolean USE_CONSIDER_RTW
public static double MULTIPLIER_RTW
public DownstreamOptions()
public void resetDefaults()
public void setUseLaggedSpaceAdj(boolean set)
set - the new use lagged space adjpublic boolean getUseLaggedSpaceAdj()
public void setLagMaxIterations(int value)
value - the new lag max iterationspublic int getLagMaxIterations()
public void setLagFlowTolerance(double value)
value - the new lag flow tolerancepublic double getLagFlowTolerance()
public void setLagFractionLimit(double value)
value - the new lag fraction limitpublic double getLagFractionLimit()
public void setUsePredictorFractionLimit(boolean value)
value - the new use predictor fraction limitpublic boolean usePredictor()
public void setPredictorMaxIterations(int value)
value - the new predictor max iterationspublic int getPredictorMaxIterations()
public void setPredictorCorrectionFactor(double value)
value - the new predictor correction factorpublic double getPredictorCorrectionFactor()
public void setUseConsiderROC(boolean value)
value - the new use consider rocpublic boolean getUseConsiderROC()
public void setMaxLookaheadROC(int value)
value - the new max lookahead rocpublic int getMaxLookaheadROC()
public void setUseConsiderRTW(boolean value)
public boolean getUseConsiderRTW()
public void setMultiplierRTW(double value)
public double getMultiplierRTW()
public DownstreamOptions clone()
clone in class java.lang.Objectpublic boolean setFieldObject(java.lang.reflect.Field fld,
java.lang.Object fobj)
FieldAccessorsetFieldObject in interface FieldAccessorfld - The java field object representing the member field to be setfobj - The data to set in that fieldpublic java.lang.Object getFieldObject(java.lang.reflect.Field fld)
FieldAccessorgetFieldObject in interface FieldAccessorfld - The field to get.