class_docstr: An ESA class, inherited from Optimizer.
  
  This is the designed class to define ES-related
  variables and methods.
  
  References:
      A. Tabari and A. Ahmad. A new optimization method: Electro-Search algorithm.
      Computers & Chemical Engineering (2017).
class_docstr_tok: ["An","ESA","class",",","inherited","from","Optimizer",".","This","is","the","designed","class","to","define","ES-related","variables","and","methods",".","References",":","A.","Tabari","and","A.","Ahmad",".","A","new","optimization","method",":","Electro-Search","algorithm",".","Computers","&","Chemical","Engineering","(","2017",")","."]
docstr: Compiles additional information that is used by this optimizer.
  
  Args:
      space: A Space object containing meta-information.
docstr_tok: ["Compiles","additional","information","that","is","used","by","this","optimizer",".","Args",":","space",":","A","Space","object","containing","meta-information","."]
code: def compile(self, space: Space) -> None:
      """Compiles additional information that is used by this optimizer.
  
      Args:
          space: A Space object containing meta-information.
  
      """
  
      self.D = r.generate_uniform_random_number(
          size=(space.n_agents, space.n_variables, space.n_dimensions)
      )
  
file_path: opytimizer/opytimizer/optimizers/science/esa.py
imports: import copy
  from typing import Any, Dict, Optional
  import numpy
  import opytimizer.math.random
  import opytimizer.utils.exception
  from opytimizer.core import Optimizer
  from opytimizer.core.function import Function
  from opytimizer.core.space import Space
  from opytimizer.utils import logging
label_desc: Use image node_id 6 for calling the ESA obj's underlying member method code with example usage: obj.compile(space) without return types