class_docstr: Initialize an instance of PomdpX reader class
  
  Parameters
  ----------
  path : file or str
      Path of the file containing PomdpX information.
  
  string : str
      String containing PomdpX information.
  
  Example
  -------
  reader = PomdpXReader('TestPomdpX.xml')
  
  Reference
  ---------
  http://bigbird.comp.nus.edu.sg/pmwiki/farm/appl/index.php?n=Main.PomdpXDocumentation
class_docstr_tok: ["Initialize","an","instance","of","PomdpX","reader","class","Parameters","--","--","--","--","--","path",":","file","or","str","Path","of","the","file","containing","PomdpX","information",".","string",":","str","String","containing","PomdpX","information",".","Example","--","--","--","-","reader","=","PomdpXReader","(","'TestPomdpX.xml","'",")","Reference","--","--","--","--","-","http",":","\/\/bigbird.comp.nus.edu.sg\/pmwiki\/farm\/appl\/index.php","?","n=Main.PomdpXDocumentation"]
docstr: Returns the discount factor for the problem
  
  Example
  --------
  >>> reader = PomdpXReader('Test_PomdpX.xml')
  >>> reader.get_discount()
  0.95
docstr_tok: ["Returns","the","discount","factor","for","the","problem","Example","--","--","--","--",">",">",">","reader","=","PomdpXReader","(","'Test_PomdpX.xml","'",")",">",">",">","reader.get_discount","(",")","0.95"]
code: def get_discount(self):
      """
      Returns the discount factor for the problem
  
      Example
      --------
      >>> reader = PomdpXReader('Test_PomdpX.xml')
      >>> reader.get_discount()
      0.95
      """
      return float(self.network.find("Discount").text)
  
imports: import xml.etree.ElementTree
  from collections import defaultdict
label_desc: Use image node_id 3 for calling the PomdpXReader obj's underlying member method code with example usage: obj.get_discount() and returns: float