class_docstr: Implement the Boltzmann Q Policy
  
  Boltzmann Q Policy builds a probability law on q values and returns
  an action selected randomly according to this law.
class_docstr_tok: ["Implement","the","Boltzmann","Q","Policy","Boltzmann","Q","Policy","builds","a","probability","law","on","q","values","and","returns","an","action","selected","randomly","according","to","this","law","."]
code: def __init__(self, tau=1.0, clip=(-500.0, 500.0)):
      super(BoltzmannQPolicy, self).__init__()
      self.tau = tau
      self.clip = clip
  
imports: from __future__ import division
  import numpy
  from rl.util import *
label_desc: Use image node_id 1 to create a new BoltzmannQPolicy object from inherited base classes: Policy with example: obj = BoltzmannQPolicy(tau, clip)