Class OptQuestModelChannel

java.lang.Object
com.opttek.optquest.OptQuestModelChannel

public class OptQuestModelChannel extends Object
  • Constructor Details

    • OptQuestModelChannel

      public OptQuestModelChannel(OptQuestModel opt, int npar)
  • Method Details

    • Continue

      public boolean Continue()
      Queries the channel to see if the interrupt signal is set. This is a query, not a command: to resume an interrupted optimization call OptQuestModel.Continue() on the model. The C API exposes this same query as OQIsAsyncContinue.
      Returns:
      - true if the optimization should continue, false if no more solutions should be generated.
    • Interrupt

      public void Interrupt()
      Sends an Interrupt signal to a model to gracefully shut down an optimization.
    • GetNumberOfParallel

      public int GetNumberOfParallel()