docstr: Initializes the class
  
  Parameters
  ----------
  static : bool
      a boolean that decides whether the topology
      is static or dynamic. Defaulg is `False`
docstr_tok: ["Initializes","the","class","Parameters","--","--","--","--","--","static",":","bool","a","boolean","that","decides","whether","the","topology","is","static","or","dynamic",".","Defaulg","is","`","False","`"]
code: def __init__(self, static=False):
      """Initializes the class
  
      Parameters
      ----------
      static : bool
          a boolean that decides whether the topology
          is static or dynamic. Defaulg is `False`
      """
      super(Random, self).__init__(static)
      self.rep = Reporter(logger=logging.getLogger(__name__))
  
file_path: pyswarms/pyswarms/backend/topology/random.py
imports: import itertools
  import logging
  import numpy
  from scipy.sparse.csgraph import connected_components, dijkstra
  from ..None import operators
  from ..handlers import BoundaryHandler, VelocityHandler
  from ...utils.reporter import Reporter
  from .base import Topology
label_desc: Use image node_id 1 to create a new Random object from inherited base classes: Topology with example: obj = Random(static)