Package com.opttek.optquest
Class COptQuestMultiObjective
java.lang.Object
com.opttek.optquest.COptQuestObjective
com.opttek.optquest.COptQuestMultiObjective
- Direct Known Subclasses:
COptQuestFrontierMultiObjective
,COptQuestWeightedMultiObjective
The COptQuestMultiObjective is an abstract class. See COptQuestWeightedMultiObjective and COptQuestFrontierMultiObjective.
-
Constructor Summary
ConstructorDescriptionDefault constructorConstructor that assigns a name to the objective -
Method Summary
Modifier and TypeMethodDescriptionGetObjectiveAt
(int index) Returns the objective at the specified index.int
Returns the number of objectives that have been added to the multi objective.Returns the optimization name.Methods inherited from class com.opttek.optquest.COptQuestObjective
equals, GetName, hashCode, IsLinear, IsMaximize, IsMinimize, SetMaximize, SetMinimize, SetName
-
Constructor Details
-
COptQuestMultiObjective
public COptQuestMultiObjective()Default constructor -
COptQuestMultiObjective
Constructor that assigns a name to the objective
-
-
Method Details
-
GetObjectiveCount
public int GetObjectiveCount()Returns the number of objectives that have been added to the multi objective.- Returns:
- the number of sub-objectives added to the multiple objective
-
GetObjectiveAt
Returns the objective at the specified index.- Throws:
COptQuestException
- if objective not found
-
GetOptimizationName
Returns the optimization name.- Returns:
- optimization name
-