|
|||||||||
| 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.COptQuestContinuousVariable
com.opttek.optquest.COptQuestEnumerationVariable
public class COptQuestEnumerationVariable
The COptQuestEnumerationVariable class defines a decision variable that has an enumerated set of values such as 5,7 and 25.
| Constructor Summary | |
|---|---|
COptQuestEnumerationVariable()
Default constructor. |
|
COptQuestEnumerationVariable(java.lang.String name)
Constructor that assigns a name to the variable. |
|
| Method Summary | |
|---|---|
void |
AddEnumerationValue(double val)
Adds the input value to the enumerated values for this decision variable. |
void |
AddEnumerationValues(int num,
double[] values)
The enumerated values are in the input array. |
void |
AddEnumerationValues(java.lang.String valueString)
The enumerated values are in a string where each value is separated by a blank or a comma. |
double[] |
GetEnumerationValues()
|
| Methods inherited from class com.opttek.optquest.COptQuestContinuousVariable |
|---|
GetType |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public COptQuestEnumerationVariable()
public COptQuestEnumerationVariable(java.lang.String name)
name - | Method Detail |
|---|
public void AddEnumerationValue(double val)
val -
public void AddEnumerationValues(int num,
double[] values)
num - values - public void AddEnumerationValues(java.lang.String valueString)
valueString - public double[] GetEnumerationValues()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||