public class DownstreamOptions extends java.lang.Object implements AsciiSerializable, java.io.Serializable, java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
static double |
DEFAULT_LAG_FLOW_TOLERANCE
The Lag Flow Tolerance
|
static double |
DEFAULT_LAG_FRACTION_LIMIT
The lag Fraction Limit.
|
static int |
DEFAULT_LAG_MAX_ITERATIONS
The Lag Max Iterations
|
static int |
DEFAULT_MAX_LOOKAHEAD_ROC
The Max number of time steps to lookahead
|
static double |
DEFAULT_MULTIPLIER_RTW
Multiplier on estimated routing lag
|
static double |
DEFAULT_PREDICTOR_CORRECTION_FACTOR
The PREDICTOR correction_ factor.
|
static int |
DEFAULT_PREDICTOR_MAX_ITERATIONS
The number of times corrections on the Predictor Corrector method
is a multiple of this number
|
static int |
DEFAULT_SPACE_ADJ
default setting for flag triggering use of lagged space correction algorithm
|
static boolean |
DEFAULT_USE_CONSIDER_ROC
The Use Consider Rate of Change option, default to false (off)
|
static boolean |
DEFAULT_USE_CONSIDER_RTW
The Use Consider Multiplier on estimated routing lag
|
static boolean |
DEFAULT_USE_LAGGED_SPACE_ADJ
Deprecated.
|
static boolean |
DEFAULT_USE_PREDICTOR
Deprecated.
|
static int |
SPACEADJ_LAGGED |
static int |
SPACEADJ_NONE |
static int |
SPACEADJ_PEST |
static int |
SPACEADJ_PREDCORR |
static int |
SPACEADJ_UNDEF |
| 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.
|
int |
getSpaceAdjType() |
boolean |
getUseConsiderROC()
Gets the use consider roc.
|
boolean |
getUseConsiderRTW() |
boolean |
getUseLaggedSpaceAdj()
Gets the use lagged space adj.
|
boolean |
getUsePESTAdj()
Gets the use PEST adj.
|
boolean |
getUsePredictor()
Use predictor.
|
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 |
setSpaceAdjType(int itype) |
void |
setUseConsiderROC(boolean value)
Sets the use consider roc.
|
void |
setUseConsiderRTW(boolean value) |
public static final int SPACEADJ_UNDEF
public static final int SPACEADJ_NONE
public static final int SPACEADJ_LAGGED
public static final int SPACEADJ_PREDCORR
public static final int SPACEADJ_PEST
public static final int DEFAULT_SPACE_ADJ
@Deprecated public static final boolean DEFAULT_USE_LAGGED_SPACE_ADJ
public static final int DEFAULT_LAG_MAX_ITERATIONS
public static final double DEFAULT_LAG_FLOW_TOLERANCE
public static final double DEFAULT_LAG_FRACTION_LIMIT
@Deprecated public static final boolean DEFAULT_USE_PREDICTOR
public static final int DEFAULT_PREDICTOR_MAX_ITERATIONS
public static final double DEFAULT_PREDICTOR_CORRECTION_FACTOR
public static final boolean DEFAULT_USE_CONSIDER_ROC
public static final int DEFAULT_MAX_LOOKAHEAD_ROC
public static final boolean DEFAULT_USE_CONSIDER_RTW
public static final double DEFAULT_MULTIPLIER_RTW
public DownstreamOptions()
public void resetDefaults()
public void setSpaceAdjType(int itype)
public int getSpaceAdjType()
public boolean getUsePESTAdj()
public 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 boolean getUsePredictor()
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.