class_docstr: An LSA class, inherited from Optimizer.
  
  This is the designed class to define LSA-related
  variables and methods.
  
  References:
      H. Shareef, A. Ibrahim and A. Mutlag. Lightning search algorithm.
      Applied Soft Computing (2015).
class_docstr_tok: ["An","LSA","class",",","inherited","from","Optimizer",".","This","is","the","designed","class","to","define","LSA-related","variables","and","methods",".","References",":","H.","Shareef",",","A.","Ibrahim","and","A.","Mutlag",".","Lightning","search","algorithm",".","Applied","Soft","Computing","(","2015",")","."]
docstr: Maximum channel time.
docstr_tok: ["Maximum","channel","time","."]
code: def max_time(self) -> int:
      """Maximum channel time."""
  
      return self._max_time
  
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.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 2 for calling the LSA obj's underlying member method code with example usage: obj.max_time() and returns: self