parameters: (self, newHierarchy)
docstring: Method that interfaces with the monteCarloSample class to execute
          a given hierarchy
docstring_summary: Method that interfaces with the monteCarloSample class to execute
          a given hierarchy
docstring_tokens: Method that interfaces with the monteCarloSample class to execute a given hierarchy
function: def updateHierarchy(self, newHierarchy):
          """
          Method that interfaces with the monteCarloSample class to execute
          a given hierarchy
          """
          # TODO could be confused with optimalHierarchy. Rename updateSampler or updateSamplerHierarchy?
          self.monteCarloSampler.update(newHierarchy)
function_tokens: def updateHierarchy ( self , newHierarchy ) : # TODO could be confused with optimalHierarchy. Rename updateSampler or updateSamplerHierarchy? self . monteCarloSampler . update ( newHierarchy )