com.opttek.optquest
Class COptQuestEnumerationVariable

java.lang.Object
  extended by com.opttek.optquest.COptQuestVariable
      extended by com.opttek.optquest.COptQuestContinuousVariable
          extended by com.opttek.optquest.COptQuestEnumerationVariable

public class COptQuestEnumerationVariable
extends COptQuestContinuousVariable

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 com.opttek.optquest.COptQuestVariable
GetBestValue, GetCurrentValue, GetCurrentValue, GetDOELowerBound, GetDOEUpperBound, GetExclusiveLowerBoundAt, GetExclusiveUpperBoundAt, GetLowerBound, GetName, GetNthBestValue, GetNumberOfExclusiveRanges, GetNumberOfObservations, GetNumberOfPeriods, GetObservationAt, GetObservations, GetPeriodObservationAt, GetPeriodObservations, GetQuality, GetResource, GetStepSize, GetSuggestedValue, GetUpperBound, SetCurrentValue, SetCurrentValue, SetExclusiveRange, SetLowerBound, SetName, SetNumberOfPeriods, SetNumberOfQualityMeasures, SetNumberOfResources, SetObservations, SetPeriodObservations, SetQuality, SetResource, SetStepSize, SetSuggestedValue, SetUpperBound
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

COptQuestEnumerationVariable

public COptQuestEnumerationVariable()
Default constructor.


COptQuestEnumerationVariable

public COptQuestEnumerationVariable(java.lang.String name)
Constructor that assigns a name to the variable.

Parameters:
name -
Method Detail

AddEnumerationValue

public void AddEnumerationValue(double val)
Adds the input value to the enumerated values for this decision variable.

Parameters:
val -

AddEnumerationValues

public void AddEnumerationValues(int num,
                                 double[] values)
The enumerated values are in the input array.

Parameters:
num -
values -

AddEnumerationValues

public void AddEnumerationValues(java.lang.String valueString)
The enumerated values are in a string where each value is separated by a blank or a comma.

Parameters:
valueString -

GetEnumerationValues

public double[] GetEnumerationValues()