class_docstr: Generates random internet AS graphs.
class_docstr_tok: ["Generates","random","internet","AS","graphs","."]
docstr: Generates the core mesh network of tier one nodes of a AS graph.
  
  Returns
  -------
  G: Networkx Graph
      Core network
docstr_tok: ["Generates","the","core","mesh","network","of","tier","one","nodes","of","a","AS","graph",".","Returns","--","--","--","-","G",":","Networkx","Graph","Core","network"]
code: def t_graph(self):
      """Generates the core mesh network of tier one nodes of a AS graph.
  
      Returns
      -------
      G: Networkx Graph
          Core network
      """
  
      self.G = nx.Graph()
      for i in range(self.n_t):
          self.G.add_node(i, type="T")
          for r in self.regions:
              self.regions[r].add(i)
          for j in self.G.nodes():
              if i != j:
                  self.add_edge(i, j, "peer")
          self.customers[i] = set()
          self.providers[i] = set()
      return self.G
  
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 2 for calling the AS_graph_generator obj's underlying member method code with example usage: obj.t_graph() and returns: self