class_docstr: An AEO class, inherited from Optimizer.
  
  This is the designed class to define AEO-related
  variables and methods.
  
  References:
      W. Zhao, L. Wang and Z. Zhang.
      Artificial ecosystem-based optimization: a novel nature-inspired meta-heuristic algorithm.
      Neural Computing and Applications (2019).
class_docstr_tok: ["An","AEO","class",",","inherited","from","Optimizer",".","This","is","the","designed","class","to","define","AEO-related","variables","and","methods",".","References",":","W.","Zhao",",","L.","Wang","and","Z.","Zhang",".","Artificial","ecosystem-based","optimization",":","a","novel","nature-inspired","meta-heuristic","algorithm",".","Neural","Computing","and","Applications","(","2019",")","."]
docstr: Wraps Artificial Ecosystem-based Optimization over all agents and variables.
  
  Args:
      space: Space containing agents and update-related information.
      function: A Function object that will be used as the objective function.
      iteration: Current iteration.
      n_iterations: Maximum number of iterations.
docstr_tok: ["Wraps","Artificial","Ecosystem-based","Optimization","over","all","agents","and","variables",".","Args",":","space",":","Space","containing","agents","and","update-related","information",".","function",":","A","Function","object","that","will","be","used","as","the","objective","function",".","iteration",":","Current","iteration",".","n_iterations",":","Maximum","number","of","iterations","."]
code: def update(
      self,
      space: Space,
      function: Function,
      iteration: int,
      n_iterations: int,
  ) -> None:
      """Wraps Artificial Ecosystem-based Optimization over all agents and variables.
  
      Args:
          space: Space containing agents and update-related information.
          function: A Function object that will be used as the objective function.
          iteration: Current iteration.
          n_iterations: Maximum number of iterations.
  
      """
  
      self._update_composition(
          space.agents,
          space.best_agent,
          function,
          iteration,
          n_iterations,
      )
      self._update_decomposition(
          space.agents, space.best_agent, function
      )
  
file_path: opytimizer/opytimizer/optimizers/population/aeo.py
imports: import copy
  from typing import Any, Dict, List, Optional
  import numpy
  import opytimizer.math.random
  from opytimizer.core import Optimizer
  from opytimizer.core.agent import Agent
  from opytimizer.core.function import Function
  from opytimizer.core.space import Space
  from opytimizer.utils import logging
label_desc: Use image node_id 8 for calling the AEO obj's underlying member method code with example usage: obj.update(space, function, iteration, n_iterations) without return types