class_docstr: A WWO class, inherited from Optimizer.
  
  This is the designed class to define WWO-related
  variables and methods.
  
  References:
      Y.-J. Zheng. Water wave optimization: A new nature-inspired metaheuristic.
      Computers & Operations Research (2015).
docstr: Updates the wave length of current population.
  
  Args:
      agents: List of agents.
docstr_tok: ["Updates","the","wave","length","of","current","population",".","Args",":","agents",":","List","of","agents","."]
code: def _update_wave_length(self, agents: List[Agent]) -> None:
      """Updates the wave length of current population.
  
      Args:
          agents: List of agents.
  
      """
  
      agents.sort(key=lambda x: x.fit)
  
      for i, agent in enumerate(agents):
          self.length[i] *= self.alpha ** -(
              (agent.fit - agents[-1].fit + c.EPSILON)
              / (agents[0].fit - agents[-1].fit + c.EPSILON)
          )
  
imports: import copy
  from typing import Any, Dict, List, Optional, Tuple
  import numpy
  import opytimizer.math.random
  import opytimizer.utils.constant
  import opytimizer.utils.exception
  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 18 for calling the WWO obj's underlying member method code with example usage: obj._update_wave_length(agents) without return types