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