Class COptQuestMultiObjective

java.lang.Object
com.opttek.optquest.COptQuestObjective
com.opttek.optquest.COptQuestMultiObjective
Direct Known Subclasses:
COptQuestFrontierMultiObjective, COptQuestWeightedMultiObjective

public abstract class COptQuestMultiObjective extends COptQuestObjective
The COptQuestMultiObjective is an abstract class. See COptQuestWeightedMultiObjective and COptQuestFrontierMultiObjective.
  • Constructor Details

    • COptQuestMultiObjective

      public COptQuestMultiObjective()
      Default constructor
    • COptQuestMultiObjective

      public COptQuestMultiObjective(String name)
      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

      public COptQuestSingleObjective GetObjectiveAt(int index) throws COptQuestException
      Returns the objective at the specified index.
      Throws:
      COptQuestException - if objective not found
    • GetOptimizationName

      public String GetOptimizationName()
      Returns the optimization name.
      Returns:
      optimization name