class_docstr: Generates random internet AS graphs.
class_docstr_tok: ["Generates","random","internet","AS","graphs","."]
docstr: Initializes AS network regions.
  
  Parameters
  ----------
  rn: integer
      Number of regions
docstr_tok: ["Initializes","AS","network","regions",".","Parameters","--","--","--","--","--","rn",":","integer","Number","of","regions"]
code: def graph_regions(self, rn):
      """Initializes AS network regions.
  
      Parameters
      ----------
      rn: integer
          Number of regions
      """
  
      self.regions = {}
      for i in range(rn):
          self.regions["REG" + str(i)] = set()
  
file_path: networkx/networkx/generators/internet_as_graphs.py
imports: import networkx
  from networkx.utils import py_random_state
label_desc: Use image node_id 10 for calling the AS_graph_generator obj's underlying member method code with example usage: obj.graph_regions(rn) without return types