|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opttek.optquest.COptQuestVariable
com.opttek.optquest.COptQuestPermutationVariable
Permutation variables are used to solve sequencing problems. For example, you could use permutation variables to determine the order in which paint should be mixed to minimize cleanup time between color changes. The value of a permutation variable represents the order within the sequence.
| Constructor Summary | |
COptQuestPermutationVariable()
Default constructor |
|
COptQuestPermutationVariable(java.lang.String name)
Constructor that assigns a name to the variable. |
|
| Method Summary | |
java.lang.String |
GetType()
|
void |
SetExclusiveRange(double low,
double high)
Illegal method for permutation variables |
void |
SetLowerBound(double value)
Illegal method for permutation variables |
void |
SetStepSize(double value)
Illegal method for permutation variables |
void |
SetUpperBound(double value)
Illegal method for permutation variables |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public COptQuestPermutationVariable(java.lang.String name)
name - alphanumeric name. Note: the name can contain blanks or special
characters. If the variable name is used in a COptQuestStringConstraint
equation, the name should be enclosed in square brackets [] in the
COptQuestStringConstraint string equation.public COptQuestPermutationVariable()
| Method Detail |
public void SetStepSize(double value)
throws COptQuestException
SetStepSize in class COptQuestVariableCOptQuestException
public void SetLowerBound(double value)
throws COptQuestException
SetLowerBound in class COptQuestVariablevalue - a value between -pow(2,31) and +pow(2,31)-1
COptQuestException
public void SetUpperBound(double value)
throws COptQuestException
SetUpperBound in class COptQuestVariablevalue - a value between -pow(2,31) and +pow(2,31)-1
COptQuestException
public void SetExclusiveRange(double low,
double high)
throws COptQuestException
SetExclusiveRange in class COptQuestVariablelow - - any value > low will be excludedhigh - - any value < high will be exluded
COptQuestExceptionpublic java.lang.String GetType()
GetType in class COptQuestVariable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||