Class COptQuestStringVariable


public class COptQuestStringVariable extends COptQuestUserControlledVariable
COptQuestStringVariable allows the user to add a variable that defines an expression where the expression is a mathematical formula that can reference input variables, or output variables by their names. The expression can contain any supported mathematical function.
  • Method Details

    • setDefinition

      public void setDefinition(com.opttek.optquest.OptQuestDefinition def) throws COptQuestException
      Throws:
      COptQuestException
    • CheckExpression

      public void CheckExpression() throws COptQuestException
      Checks the objective expression for syntax errors. If the expression contains errors, a COptQuestException is thrown.
      Throws:
      COptQuestException - if a problem is encountered