parameters: (self, payoff)
return_statement: return (payoff - self.payoff_bounds[0]) / (
          self.payoff_bounds[1] - self.payoff_bounds[0])
docstring: Rescales payoffs to be in [0,1].
docstring_summary: Rescales payoffs to be in [0,1].
docstring_tokens: Rescales payoffs to be in [ 0 1 ] .
function: def rescale_payoff(self, payoff):
      """Rescales payoffs to be in [0,1]."""
      # Assumes payoffs are bounded between [-payoff_bound, payoff_bound]
      return (payoff - self.payoff_bounds[0]) / (
          self.payoff_bounds[1] - self.payoff_bounds[0])
function_tokens: def rescale_payoff ( self , payoff ) : # Assumes payoffs are bounded between [-payoff_bound, payoff_bound] return ( payoff - self . payoff_bounds [ 0 ] ) / ( self . payoff_bounds [ 1 ] - self . payoff_bounds [ 0 ] )