class_docstr: An object that defines a random order in which the distance profiles are calculated for a given Matrix Profile
class_docstr_tok: ["An","object","that","defines","a","random","order","in","which","the","distance","profiles","are","calculated","for","a","given","Matrix","Profile"]
docstr: Advances the Order object to the next index
docstr_tok: ["Advances","the","Order","object","to","the","next","index"]
code: def next(self):
      """
      Advances the Order object to the next index
      """
      self.idx += 1
      try:
          return self.indices[self.idx]
  
      except IndexError:
          return None
  
file_path: matrixprofile-ts/matrixprofile/order.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import numpy
label_desc: Use image node_id 2 for calling the randomOrder obj's underlying member method code with example usage: obj.next() and returns: self, None