Class COptQuestUpperRequirement

java.lang.Object
com.opttek.optquest.COptQuestRequirement
com.opttek.optquest.COptQuestUpperRequirement

public class COptQuestUpperRequirement extends COptQuestRequirement
The COptQuestUpperRequirement defines a requirement that has an upper bound but no lower bound. The OptQuest Engine considers the COptQuestUpperRequirement to be feasible if requirement value ≤ upper bound.
  • Constructor Details

    • COptQuestUpperRequirement

      public COptQuestUpperRequirement(double upper)
      Constructor that sets the upper bound of the requirement.
      Parameters:
      upper - a value between -pow(2,31) and +pow(2,31)-1
    • COptQuestUpperRequirement

      public COptQuestUpperRequirement(String name, double upper)
      Constructor that assigns a name to the requirement and sets the upper bound
      Parameters:
      name - alphanumeric name
      upper - a value between -pow(2,31) and +pow(2,31)-1
    • COptQuestUpperRequirement

      public COptQuestUpperRequirement()
      Default constructor