code: def default_update_function(self, n: Tuple[str, dict]) -> List[float]:
          
          return [
              self.transition_matrix_collection[i].loc[n[0]].values
              @ self.s0[i].values
              for i in range(self.res)
          ]
docs: The default update function for a CAG node.
              n: A 2-tuple containing the node name and node data.
  
          Returns:
              A list of values corresponding to the distribution of the value of
              the real-valued variable representing the node.