com.opttek.optquest
Class COptQuestDualRequirement
java.lang.Object
com.opttek.optquest.COptQuestRequirement
com.opttek.optquest.COptQuestDualRequirement
public class COptQuestDualRequirement
- extends COptQuestRequirement
The COptQuestDualRequirement defines a requirement that has both a lower bound
and an upper bound. The OptQuest Engine considers the COptQuestDualRequirement
to be feasible if lower bound <= requirement value <= upper bound
|
Constructor Summary |
COptQuestDualRequirement()
Default constructor |
COptQuestDualRequirement(double lower,
double upper)
Constructor that sets the lower and upper bound of the requirement. |
COptQuestDualRequirement(java.lang.String name,
double lower,
double upper)
Constructor that assigns a name to the requirement and sets the lower
and upper bound of the requirement. |
|
Method Summary |
java.lang.String |
GetType()
|
| Methods inherited from class com.opttek.optquest.COptQuestRequirement |
GetBestValue, GetCurrentValue, GetCurrentValue, GetLowerBound, GetName, GetNthBestValue, GetPortfolioMeasure, GetPortfolioStatistic, GetPortfolioStatisticValue, GetUpperBound, IsGoal, SetCurrentValue, SetCurrentValue, SetGoal, SetLowerBound, SetName, SetPortfolioMeasure, SetPortfolioStatistic, SetReplicationConfidence, SetTolerance, SetUpperBound |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COptQuestDualRequirement
public COptQuestDualRequirement(double lower,
double upper)
- Constructor that sets the lower and upper bound of the requirement.
- Parameters:
lower - a value between -pow(2,31) and +pow(2,31)-1upper - a value between -pow(2,31) and +pow(2,31)-1
COptQuestDualRequirement
public COptQuestDualRequirement(java.lang.String name,
double lower,
double upper)
- Constructor that assigns a name to the requirement and sets the lower
and upper bound of the requirement.
- Parameters:
name - - alphanumeric namelower - a value between -pow(2,31) and +pow(2,31)-1upper - a value between -pow(2,31) and +pow(2,31)-1
COptQuestDualRequirement
public COptQuestDualRequirement()
- Default constructor
GetType
public java.lang.String GetType()
- Overrides:
GetType in class COptQuestRequirement