|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.opttek.optquest.COptQuestObjective
public abstract class COptQuestObjective
The COptQuestObjective class is a pure virtual class that defines the objective of the optimization.
| Constructor Summary | |
|---|---|
COptQuestObjective()
|
|
COptQuestObjective(java.lang.String name)
|
|
| Method Summary | |
|---|---|
boolean |
GetBestFeasible()
Deprecated. Use COptQuestOptimization::GetBestSolution().IsFeasible() |
double |
GetBestValue()
Deprecated. Use COptQuestOptimization::GetBestSolution().GetObjectiveValue() |
boolean |
GetCurrentFeasible()
Deprecated. Use COptQuestOptimization::GetCurrentSolution().IsFeasible() |
boolean |
GetCurrentFeasible(int pID)
Deprecated. Use COptQuestOptimization::GetCurrentSolution(int pID).IsFeasible() |
double |
GetCurrentValue()
Deprecated. Use COptQuestOptimization::GetCurrentSolution().GetObjectiveValue() |
double |
GetCurrentValue(int pID)
Deprecated. Use COptQuestOptimization::GetCurrentSolution(int pID).GetObjectiveValue() method to |
java.lang.String |
GetName()
Returns the name assigned to the objective. |
boolean |
GetNthBestFeasible()
Deprecated. Use COptQuestOptimization::GetNthBestSolution().IsFeasible() |
double |
GetNthBestValue()
Deprecated. Use COptQuestOptimization::GetNthBestSolution().GetObjectiveValue(). |
int |
GetReplicationConfidenceLevel()
Returns the confidence level set by the call to SetReplicationConfidence(). |
double |
GetReplicationConfidencePercent()
Return the confidence error percent set by the call to SetReplicationConfidence() |
int |
GetReplicationConfidenceType()
Returns the confidence type set by the call to SetReplicationConfidence(); |
boolean |
IsLinear()
Returns true if the objective is a linear function. |
boolean |
IsMaximize()
Returns true if the goal of the optimization is to maximize the objective value. |
boolean |
IsMinimize()
Returns true if the goal of the optimization is to minimize the objective value. |
void |
SetCurrentValue(double val)
Deprecated. Use COptQuestOptimization::GetCurrentSolution().SetObjectiveValue() |
void |
SetCurrentValue(int pID,
double val)
Deprecated. Use COptQuestOptimization::GetCurrentSolution(int pID).SetObjectiveValue() |
void |
SetMaximize()
Sets the goal of the optimization to maximize the objective value. |
void |
SetMinimize()
Sets the goal of the optimization to minimize the objective value. |
void |
SetName(java.lang.String name)
Assigns a name to the objective function |
void |
SetReplicationConfidence(int type,
int level,
double errPercent)
Sets the values used for replication confidence testing. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public COptQuestObjective()
public COptQuestObjective(java.lang.String name)
| Method Detail |
|---|
public void SetMaximize()
public boolean IsMaximize()
public void SetMinimize()
public boolean IsMinimize()
public boolean IsLinear()
public void SetName(java.lang.String name)
name - public java.lang.String GetName()
public double GetBestValue()
throws COptQuestException
COptQuestException
public double GetNthBestValue()
throws COptQuestException
COptQuestExceptionpublic boolean GetBestFeasible()
public boolean GetNthBestFeasible()
public boolean GetCurrentFeasible()
throws COptQuestException
COptQuestException
public double GetCurrentValue()
throws COptQuestException
COptQuestException
public void SetCurrentValue(double val)
throws COptQuestException
COptQuestException
public void SetCurrentValue(int pID,
double val)
throws COptQuestException
COptQuestException
public double GetCurrentValue(int pID)
throws COptQuestException
COptQuestException
public boolean GetCurrentFeasible(int pID)
throws COptQuestException
COptQuestException
public void SetReplicationConfidence(int type,
int level,
double errPercent)
throws COptQuestException
type - level - errPercent - the error percentage as a value > 0 and < 1.
COptQuestException
public int GetReplicationConfidenceType()
throws COptQuestException
COptQuestException
public int GetReplicationConfidenceLevel()
throws COptQuestException
COptQuestException
public double GetReplicationConfidencePercent()
throws COptQuestException
COptQuestException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||