class_docstr: Initializer for XBNReader class.
  
  Parameters
  ----------
  path: str or file
      Path of the file containing XBN data.
  
  string: str
      String of XBN data
  
  Examples
  --------
  >>> reader = XBNReader('test_XBN.xml')
  
  Reference
  ---------
  [1] Microsoft Research. XML belief network file format.
      http://xml.coverpages.org/xbn-MSdefault19990414.html, 1999.
class_docstr_tok: ["Initializer","for","XBNReader","class",".","Parameters","--","--","--","--","--","path",":","str","or","file","Path","of","the","file","containing","XBN","data",".","string",":","str","String","of","XBN","data","Examples","--","--","--","--",">",">",">","reader","=","XBNReader","(","'test_XBN.xml","'",")","Reference","--","--","--","--","-","[","1","]","Microsoft","Research",".","XML","belief","network","file","format",".","http",":","\/\/xml.coverpages.org\/xbn-MSdefault19990414.html",",","1999","."]
docstr: Returns a list of tuples. Each tuple contains two elements (parent, child) for each edge.
  
  Examples
  --------
  >>> reader = XBNReader('xbn_test.xml')
  >>> reader.get_edges()
  [('a', 'b'), ('a', 'c'), ('b', 'd'), ('c', 'd'), ('c', 'e')]
docstr_tok: ["Returns","a","list","of","tuples",".","Each","tuple","contains","two","elements","(","parent",",","child",")","for","each","edge",".","Examples","--","--","--","--",">",">",">","reader","=","XBNReader","(","'xbn_test.xml","'",")",">",">",">","reader.get_edges","(",")","[","(","'","a","'",",","'","b","'",")",",","(","'","a","'",",","'","c","'",")",",","(","'","b","'",",","'d","'",")",",","(","'","c","'",",","'d","'",")",",","(","'","c","'",",","'","e","'",")","]"]
code: def get_edges(self):
      """
      Returns a list of tuples. Each tuple contains two elements (parent, child) for each edge.
  
      Examples
      --------
      >>> reader = XBNReader('xbn_test.xml')
      >>> reader.get_edges()
      [('a', 'b'), ('a', 'c'), ('b', 'd'), ('c', 'd'), ('c', 'e')]
      """
      return [
          (arc.get("PARENT"), arc.get("CHILD"))
          for arc in self.bnmodel.find("STRUCTURE")
      ]
  
imports: import itertools
  import xml.etree.ElementTree
  import networkx
  import numpy
  from pgmpy.factors.discrete import TabularCPD
  from pgmpy.models import BayesianNetwork
label_desc: Use image node_id 6 for calling the XBNReader obj's underlying member method code with example usage: obj.get_edges() and returns: unknown