class_docstr: Initialisation of XMLBIFReader object.
  
  Parameters
  ----------
  path : file or str
      File of XMLBIF data
      File of XMLBIF data
  
  string : str
      String of XMLBIF data
  
  Examples
  --------
  # xmlbif_test.xml is the file present in
  # http://www.cs.cmu.edu/~fgcozman/Research/InterchangeFormat/
  >>> from pgmpy.readwrite import XMLBIFReader
  >>> reader = XMLBIFReader("xmlbif_test.xml")
  >>> model = reader.get_model()
  
  Reference
  ---------
  [1] https://www.cs.cmu.edu/afs/cs/user/fgcozman/www/Research/InterchangeFormat/
docstr: Returns the edges of the network
  
  Examples
  --------
  >>> reader = XMLBIF.XMLBIFReader("xmlbif_test.xml")
  >>> reader.get_edges()
  [['family-out', 'light-on'],
   ['family-out', 'dog-out'],
   ['bowel-problem', 'dog-out'],
   ['dog-out', 'hear-bark']]
docstr_tok: ["Returns","the","edges","of","the","network","Examples","--","--","--","--",">",">",">","reader","=","XMLBIF.XMLBIFReader","(","``","xmlbif_test.xml","''",")",">",">",">","reader.get_edges","(",")","[","[","'family-out","'",",","'light-on","'","]",",","[","'family-out","'",",","'dog-out","'","]",",","[","'bowel-problem","'",",","'dog-out","'","]",",","[","'dog-out","'",",","'hear-bark","'","]","]"]
code: def get_edges(self):
      """
      Returns the edges of the network
  
      Examples
      --------
      >>> reader = XMLBIF.XMLBIFReader("xmlbif_test.xml")
      >>> reader.get_edges()
      [['family-out', 'light-on'],
       ['family-out', 'dog-out'],
       ['bowel-problem', 'dog-out'],
       ['dog-out', 'hear-bark']]
      """
      edge_list = [
          [value, key]
          for key in self.variable_parents
          for value in self.variable_parents[key]
      ]
      return edge_list
  
imports: import xml.etree.ElementTree
  from io import BytesIO
  from itertools import chain
  import numpy
  import pyparsing
  from pgmpy.factors.discrete import State, TabularCPD
  from pgmpy.models import BayesianNetwork
  from pgmpy.utils import compat_fns
label_desc: Use image node_id 3 for calling the XMLBIFReader obj's underlying member method code with example usage: obj.get_edges() and returns: edge_list