docstr: clear the trajectory cache of sampled points
  
  Input:
    cache - the trajectory cache(s)
    inv - if True, reset the cache for the inverse of the objective
      
docstr_tok: ["clear","the","trajectory","cache","of","sampled","points","Input",":","cache","-","the","trajectory","cache","(","s",")","inv","-","if","True",",","reset","the","cache","for","the","inverse","of","the","objective"]
code: def Reset(self, cache=None, inv=None):
      """clear the trajectory cache of sampled points
  
      Input:
        cache - the trajectory cache(s)
        inv - if True, reset the cache for the inverse of the objective
      """
      if cache is None:
          self.cache.clear()  # XXX: clear the archive?
      self.cache = self.cache if cache is None else cache
      [self._allSolvers.pop() for i in range(len(self._allSolvers))]
      if inv is not None:
          self._inv = inv
  
file_path: mystic/mystic/search.py
label_desc: Use image node_id 10 for calling the Searcher obj's underlying member method code with example usage: obj.Reset(cache, inv) without return types