original_docstring: Set the probability a txn will be applied after a given amount of time.
  
      Args:
        classification_map: A list of tuples containing (float between 0 and 1,
          number of miliseconds) that define the probability of a transaction
          applying after a given amount of time.
      
docstring: Set the probability a txn will be applied after a given amount of time.
docstring_tokens: Set the probability a txn will be applied after a given amount of time .
code: def SetClassificationMap(self, classification_map):
      """Set the probability a txn will be applied after a given amount of time.
  
      Args:
        classification_map: A list of tuples containing (float between 0 and 1,
          number of miliseconds) that define the probability of a transaction
          applying after a given amount of time.
      """
      for prob, delay in classification_map:
        if prob < 0 or prob > 1 or delay <= 0:
          raise TypeError(
              'classification_map must be a list of (probability, delay) tuples, '
              'found %r' % (classification_map,))
  
      self._classification_map = sorted(classification_map)
code_tokens: def SetClassificationMap ( self , classification_map ) : for prob , delay in classification_map : if prob < 0 or prob > 1 or delay <= 0 : raise TypeError ( 'classification_map must be a list of (probability, delay) tuples, ' 'found %r' % ( classification_map , ) ) self . _classification_map = sorted ( classification_map )
short_docstring: Set the probability a txn will be applied after a given amount of time.
short_docstring_tokens: Set the probability a txn will be applied after a given amount of time .
comment: """Set the probability a txn will be applied after a given amount of time.
  
      Args:
        classification_map: A list of tuples containing (float between 0 and 1,
          number of miliseconds) that define the probability of a transaction
          applying after a given amount of time.
      """