SORTIE Java Interface
1
|
Static Public Member Functions | |
static void | makeSureAllAreBounded (ModelVector oData, boolean[] p_bAppliesTo, float fLowerBound, float fUpperBound) throws ModelException |
Makes sure that all the values in a vector fall between two bounds. More... | |
static void | makeSureAllPositive (Float[] p_fData, String sName, boolean[] p_bAppliesTo) throws ModelException |
Makes sure the elements of a float array are positive numbers (greater than zero). More... | |
static void | makeSureAllPositive (Float[] p_fData, String sName) throws ModelException |
Makes sure the elements of a float array are positive numbers (greater than zero). More... | |
static void | makeSureAllNonNegative (Float[] p_fData, String sName, boolean[] p_bAppliesTo) throws ModelException |
Makes sure the elements of a float array are non-negative numbers (greater than or equal to zero). More... | |
static void | makeSureAllNonNegative (Float[] p_fData, String sName) throws ModelException |
Makes sure the elements of a float array are non-negative numbers (greater than or equal to zero). More... | |
static void | makeSureAllPositive (Integer[] p_iData, String sName, boolean[] p_bAppliesTo) throws ModelException |
Makes sure the elements of an integer array are positive numbers (greater than zero). More... | |
static void | makeSureAllPositive (Integer[] p_iData, String sName) throws ModelException |
Makes sure the elements of an integer array are positive numbers (greater than zero). More... | |
static void | makeSureAllNonNegative (Integer[] p_iData, String sName, boolean[] p_bAppliesTo) throws ModelException |
Makes sure the elements of an integer array are non-negative numbers (greater than or equal to zero). More... | |
static void | makeSureAllNonNegative (Integer[] p_iData, String sName) throws ModelException |
Makes sure the elements of an integer array are non-negative numbers (greater than or equal to zero). More... | |
static void | makeSureGreaterThan (ModelFloat oValue, float fLowerBound) throws ModelException |
Makes sure a value is greater than a certain value. More... | |
static void | makeSureGreaterThanEqualTo (ModelFloat oValue, float fLowerBound) throws ModelException |
Makes sure a value is greater than or equal to a certain value. More... | |
static void | makeSureGreaterThan (ModelInt oValue, float fLowerBound) throws ModelException |
Makes sure a value is greater than a certain value. More... | |
static void | makeSureGreaterThanEqualTo (ModelInt oValue, float fLowerBound) throws ModelException |
Makes sure a value is greater than or equal to a certain value. More... | |
static void | makeSureLessThan (ModelFloat oValue, float fUpperBound) throws ModelException |
Makes sure a value is less than a certain value. More... | |
static void | makeSureLessThan (ModelInt oValue, float fUpperBound) throws ModelException |
Makes sure a value is less than a certain value. More... | |
static void | makeSureLessThanEqualTo (ModelFloat oValue, float fUpperBound) throws ModelException |
Makes sure a value is less than or equal to a certain value. More... | |
static void | makeSureLessThanEqualTo (ModelInt oValue, float fUpperBound) throws ModelException |
Makes sure a value is less than or equal to a certain value. More... | |
static void | makeSureNotEqualTo (ModelFloat oValue, float fForbidden) throws ModelException |
Makes sure a value is not equal to another value. More... | |
static void | makeSureNotEqualTo (ModelInt oValue, float fForbidden) throws ModelException |
Makes sure a value is not equal to another value. More... | |
static void | makeSureIsBounded (ModelFloat oValue, float fLowerBound, float fUpperBound) throws ModelException |
Makes sure a value falls in an acceptable range. More... | |
static void | makeSureIsBounded (ModelInt oValue, float fLowerBound, float fUpperBound) throws ModelException |
Makes sure a value falls in an acceptable range. More... | |
static void | makeSureIsProportion (ModelFloat fValue) throws ModelException |
Makes sure a value is a proportion between 0 and 1 (inclusive). More... | |
static void | makeSureAllAreProportions (ModelVector oData, boolean[] p_bAppliesTo) throws ModelException |
Makes sure the data in a vector are proportions between 0 and 1 (inclusive). More... | |
static void | makeSureAllAreProportions (ModelVector oData) throws ModelException |
Makes sure all the data in a vector are proportions between 0 and 1 (inclusive). More... | |
static void | makeSureRightSize (ModelVector oData, int iLength) throws ModelException |
Makes sure that a vector is of a certain size. More... | |
static void | makeSureAllNonNegative (ModelVector oData) throws ModelException |
Makes sure the elements of a vector are non-negative numbers (greater than or equal to zero). More... | |
static void | makeSureAllNonZero (ModelVector oData) throws ModelException |
Makes sure the elements of a vector are non-zero. More... | |
static void | makeSureAllNonZero (ModelVector oData, boolean[] p_bAppliesTo) throws ModelException |
Makes sure the elements of a vector are non-zero numbers. More... | |
static void | makeSureAllPositive (ModelVector oData, boolean[] p_bAppliesTo) throws ModelException |
Makes sure the elements of a vector are positive numbers (greater than zero). More... | |
static void | makeSureAllPositive (ModelVector oData) throws ModelException |
Makes sure the elements of a vector are positive numbers (greater than zero). More... | |
static void | makeSureAllNonNegative (ModelVector oData, boolean[] p_bAppliesTo) throws ModelException |
Makes sure the elements of a vector are non-negative numbers (greater than or equal to zero). More... | |
|
static |
Makes sure that all the values in a vector fall between two bounds.
Only those indexes for which p_bAppliesTo = true at the same index are checked.
oData | ModelVector Vector to check. |
p_bAppliesTo | boolean[] Set of flags for which values to check. |
fLowerBound | Float Minimum acceptable value. |
fUpperBound | Float Maximum acceptable value. |
ModelException | If any value falls outside of the range. |
|
static |
Makes sure the data in a vector are proportions between 0 and 1 (inclusive).
Only those indexes for which p_bAppliesTo = true at the same index are checked.
oData | Vector to check |
p_bAppliesTo | Set of flags for which values to check |
ModelException | if any value in the vector is not a valid proportion. |
|
static |
Makes sure all the data in a vector are proportions between 0 and 1 (inclusive).
oData | Vector to check |
ModelException | if any value in the vector is not a valid proportion. |
|
static |
Makes sure the elements of a float array are non-negative numbers (greater than or equal to zero).
Only those indexes for which p_bAppliesTo = true at the same index are checked.
p_fData | The array to check. |
sName | The name of the vector, to put in the error message. |
p_bAppliesTo | Set of flags for which values to check |
ModelException | if there are any negative number values in the vector. |
|
static |
Makes sure the elements of a float array are non-negative numbers (greater than or equal to zero).
p_fData | The array to check. |
sName | The name of the vector, to put in the error message. |
ModelException | if there are any negative number values in the vector. |
|
static |
Makes sure the elements of an integer array are non-negative numbers (greater than or equal to zero).
Only those indexes for which p_bAppliesTo = true at the same index are checked.
p_iData | The array to check. |
sName | The name of the vector, to put in the error message. |
p_bAppliesTo | Set of flags for which values to check |
ModelException | if there are any negative number values in the vector. |
|
static |
Makes sure the elements of an integer array are non-negative numbers (greater than or equal to zero).
p_iData | The array to check. |
sName | The name of the vector, to put in the error message. |
ModelException | if there are any negative number values in the vector. |
|
static |
Makes sure the elements of a vector are non-negative numbers (greater than or equal to zero).
oData | The vector to check. |
ModelException | if there are any negative number values in the vector. |
|
static |
Makes sure the elements of a vector are non-negative numbers (greater than or equal to zero).
Only those indexes for which p_bAppliesTo = true at the same index are checked.
oData | The vector to check. |
p_bAppliesTo | Set of flags for which values to check |
ModelException | if there are any negative number values in the vector. |
|
static |
Makes sure the elements of a vector are non-zero.
oData | The vector to check. |
ModelException | if there are any 0 values in the vector. |
|
static |
Makes sure the elements of a vector are non-zero numbers.
Only those indexes for which p_bAppliesTo = true at the same index are checked.
oData | The vector to check. |
p_bAppliesTo | Set of flags for which values to check |
ModelException | if there are any negative number values in the vector. |
|
static |
Makes sure the elements of a float array are positive numbers (greater than zero).
Only those indexes for which p_bAppliesTo = true at the same index are checked.
p_fData | The array to check. |
sName | The name of the vector, to put in the error message. |
p_bAppliesTo | Set of flags for which values to check |
ModelException | if there are any non-positive number values in the vector. |
|
static |
Makes sure the elements of a float array are positive numbers (greater than zero).
p_fData | The array to check. |
sName | The name of the vector, to put in the error message. |
ModelException | if there are any non-positive number values in the vector. |
|
static |
Makes sure the elements of an integer array are positive numbers (greater than zero).
Only those indexes for which p_bAppliesTo = true at the same index are checked.
p_iData | The array to check. |
sName | The name of the vector, to put in the error message. |
p_bAppliesTo | Set of flags for which values to check |
ModelException | if there are any non-positive number values in the vector. |
|
static |
Makes sure the elements of an integer array are positive numbers (greater than zero).
p_iData | The array to check. |
sName | The name of the vector, to put in the error message. |
ModelException | if there are any non-positive number values in the vector. |
|
static |
Makes sure the elements of a vector are positive numbers (greater than zero).
Only those indexes for which p_bAppliesTo = true at the same index are checked.
oData | The vector to check. |
p_bAppliesTo | Set of flags for which values to check |
ModelException | if there are any non-positive number values in the vector. |
|
static |
Makes sure the elements of a vector are positive numbers (greater than zero).
oData | The vector to check. |
ModelException | if there are any non-positive number values in the vector. |
|
static |
Makes sure a value is greater than a certain value.
oValue | The value to check. |
fLowerBound | The value the test value must be greater than. |
ModelException | if the value is not greater than fLowerBound. |
|
static |
Makes sure a value is greater than a certain value.
oValue | The value to check. |
fLowerBound | The value the test value must be greater than. |
ModelException | if the value is not greater than fLowerBound. |
|
static |
Makes sure a value is greater than or equal to a certain value.
oValue | The value to check. |
fLowerBound | The value the test value must be greater than or equal to. |
ModelException | if the value is not greater than fLowerBound. |
|
static |
Makes sure a value is greater than or equal to a certain value.
oValue | The value to check. |
fLowerBound | The value the test value must be greater than or equal to. |
ModelException | if the value is not greater than fLowerBound. |
|
static |
Makes sure a value falls in an acceptable range.
oValue | The value to check. |
fLowerBound | float Minimum acceptable value. |
fUpperBound | float Maximum acceptable value. |
ModelException | If any value falls outside of the range. |
|
static |
Makes sure a value falls in an acceptable range.
oValue | The value to check. |
fLowerBound | float Minimum acceptable value. |
fUpperBound | float Maximum acceptable value. |
ModelException | If any value falls outside of the range. |
|
static |
Makes sure a value is a proportion between 0 and 1 (inclusive).
fValue | Value to check. |
ModelException | if the value is not a valid proportion. |
|
static |
Makes sure a value is less than a certain value.
oValue | The value to check. |
fUpperBound | The value the test value must be less than. |
ModelException | if the value is not less than fUpperBound. |
|
static |
Makes sure a value is less than a certain value.
oValue | The value to check. |
fUpperBound | The value the test value must be less than. |
ModelException | if the value is not less than fUpperBound. |
|
static |
Makes sure a value is less than or equal to a certain value.
oValue | The value to check. |
fUpperBound | The value the test value must be less than or equal to. |
ModelException | if the value is not greater than fUpperBound. |
|
static |
Makes sure a value is less than or equal to a certain value.
oValue | The value to check. |
fUpperBound | The value the test value must be less than or equal to. |
ModelException | if the value is not greater than fUpperBound. |
|
static |
Makes sure a value is not equal to another value.
oValue | The value to check. |
fForbidden | The value the test value cannot equal. |
ModelException | if the value is equal to the specified value, within a very small number. |
|
static |
Makes sure a value is not equal to another value.
oValue | The value to check. |
fForbidden | The value the test value cannot equal. |
ModelException | if the value is equal to the specified value, within a very small number. |
|
static |
Makes sure that a vector is of a certain size.
oData | Vector to validate. |
iLength | Expected length. |
ModelException | if the vector is not of the correct length. |