|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.opttek.optquest.COptQuestObjective
com.opttek.optquest.COptQuestMultipleObjective
public class COptQuestMultipleObjective
The COptQuestMultipleObjective allows the user to combine multiple objectives and treat them as a single objective for the optimization. The multiple objective is defined by adding COptQuestObjective objects to the COptQuestMultipleObjective and assigning a coefficient to each objective. The COptQuestMultipleObjective is evaluated as minimizing or maximizing the expression coeff1*objective1 + coeff2*objective2 etc. Only the COptQuestMultipleObjective object is added to the COptQuestOptimization class.
| Constructor Summary | |
|---|---|
COptQuestMultipleObjective()
Default constructor |
|
COptQuestMultipleObjective(java.lang.String name)
Constructor that assigns a name to the objective |
|
| Method Summary | |
|---|---|
void |
AddObjective(COptQuestObjective obj)
Adds the input sub-objective to the COptQuestMultipleObjective and assigns a coefficient of 1 to the sub-objective. |
void |
AddObjective(COptQuestObjective obj,
double coefficient)
Adds the input sub-objective to the COptQuestMultipleObjective and assigns a coefficient to the sub-objective. |
void |
AddObjective(COptQuestObjective obj,
double coefficient,
double goal)
Adds the input sub-objective to the COptQuestMultipleObjective and assigns a coefficient to the objective and a value representing the goal of the objective. |
void |
AddObjective(COptQuestObjective obj,
double coefficient,
double minObj,
double maxObj)
Adds the input sub-objective to the COptQuestMultipleObjective and assigns a coefficient to the objective and values representing the range of the objective. |
void |
ChangeObjectiveCoefficient(COptQuestObjective obj,
double coefficient)
Assigns a new coefficient to the input objective. |
void |
ChangeObjectiveGoal(COptQuestObjective obj,
double minObj,
double maxObj)
Assigns a new objective range for a particular objective. |
double |
GetCoefficientAt(int index)
Returns the coefficient at the specified index |
COptQuestObjective |
GetObjectiveAt(int index)
Returns the objective at the specified index. |
int |
GetObjectiveCount()
Returns the number of objectives that have been added to the multi objective. |
java.lang.String |
GetOptimizationName()
Returns the optimization name. |
COptQuestRequirement |
GetRequirementAt(int index)
Returns the requirement at the specified index. |
void |
SetDominance()
Sets the multi-objective search to use a measure of dominance search to find the points on the frontier. |
void |
SetGoal()
Sets the multi-objective search to use a measure of distance from the goal provided to find the best solution given that goal. |
void |
SetGoalRange()
Sets the multi-objective search to use a measure of distance from the goal provided to find the best solution given that goal and the range of objective values. |
void |
SetPareto()
Sets the multi-objective search to use a measure of pareto optimality search to find the points on the frontier. |
void |
SetPatternFrontier()
Sets the multi-objective search to use a pattern frontier search to find the points on the frontier. |
void |
SetWeighted()
Sets the multi-objective search to use a weighted measure of the objectives search to find the best solution given those weights. |
| Methods inherited from class com.opttek.optquest.COptQuestObjective |
|---|
GetBestFeasible, GetBestValue, GetCurrentFeasible, GetCurrentFeasible, GetCurrentValue, GetCurrentValue, GetName, GetNthBestFeasible, GetNthBestValue, GetReplicationConfidenceLevel, GetReplicationConfidencePercent, GetReplicationConfidenceType, IsLinear, IsMaximize, IsMinimize, SetCurrentValue, SetCurrentValue, SetMaximize, SetMinimize, SetName, SetReplicationConfidence |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public COptQuestMultipleObjective()
public COptQuestMultipleObjective(java.lang.String name)
name - | Method Detail |
|---|
public void AddObjective(COptQuestObjective obj)
coefficient -
public void AddObjective(COptQuestObjective obj,
double coefficient)
obj - coefficient -
public void AddObjective(COptQuestObjective obj,
double coefficient,
double goal)
obj - coefficient - goal -
public void AddObjective(COptQuestObjective obj,
double coefficient,
double minObj,
double maxObj)
obj - coefficient - minObj - maxObj - public void SetPatternFrontier()
public void SetDominance()
public void SetPareto()
public void SetWeighted()
public void SetGoal()
public void SetGoalRange()
public void ChangeObjectiveCoefficient(COptQuestObjective obj,
double coefficient)
throws COptQuestException
obj - coefficient -
COptQuestException
public void ChangeObjectiveGoal(COptQuestObjective obj,
double minObj,
double maxObj)
obj - minObj - maxObj - public int GetObjectiveCount()
public COptQuestObjective GetObjectiveAt(int index)
throws COptQuestException
index -
COptQuestException
public COptQuestRequirement GetRequirementAt(int index)
throws COptQuestException
index -
COptQuestException
public double GetCoefficientAt(int index)
throws COptQuestException
index -
COptQuestExceptionpublic java.lang.String GetOptimizationName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||