class_docstr: Base class for evaluating multiple methods for an ED/Optimisation task. 
class_docstr_tok: ["Base","class","for","evaluating","multiple","methods","for","an","ED\/Optimisation","task","."]
docstr: This runs the trial. Each trial executes each method on a problem. 
docstr_tok: ["This","runs","the","trial",".","Each","trial","executes","each","method","on","a","problem","."]
code: def run_trials(self):
      """This runs the trial. Each trial executes each method on a problem."""
      self.reporter.writeln(self.get_trial_header())
      while not self.terminate_now():
          # Prelims
          self.trial_iter += 1
          iter_header = (
              "\nEXP %d/%d:: " % (self.trial_iter, self.num_trials)
              + self.get_iteration_header()
          )
          iter_header += "\n" + "=" * len(iter_header) + "\n"
          self.reporter.writeln(iter_header)
          # R trial iteration.
          self.run_trial_iteration()
          # Save results
          self.save_results()
      # Wrap up the trials
      self.wrapup_trials()
  
file_path: dragonfly/dragonfly/utils/method_evaluator.py
imports: from argparse import Namespace
  import random
  from time import time
  import pickle
  from scipy.io import savemat
  import numpy
  from .reporters import get_reporter
label_desc: Use image node_id 5 for calling the BaseMethodEvaluator obj's underlying member method code with example usage: obj.run_trials() without return types