code: public Parameters parameters() {
          Parameters ps = new DefaultParameters()
                  .setTimeLimit(timeout)
                  .doRepair(repair)
                  .doOptimize(optimize);
  
          if (single()) {
              ps.setVerbosity(verbosity);
          }
          if (chunk) {
              ps.setEnvironmentFactory(mo -> new EnvironmentBuilder().fromChunk().build());
          }
          return ps;
      }
docs: Get the parameters from the options.
  
  @return the resulting parameters