parameters: (self, viz)
docstring: !
          Simulation Periodic Update function.
          @param self this object
          @param viz visualizer object
          @return none
docstring_summary: !
          Simulation Periodic Update function.
docstring_tokens: ! Simulation Periodic Update function .
function: def simulation_periodic_update(self, viz):
          """!
          Simulation Periodic Update function.
          @param self this object
          @param viz visualizer object
          @return none
          """
          nodes_statistics = viz.simulation.sim_helper.GetNodesStatistics()
          for stats in nodes_statistics:
              try:
                  raw_stats_list = self.node_statistics[stats.nodeId]
              except KeyError:
                  raw_stats_list = []
                  self.node_statistics[stats.nodeId] = raw_stats_list
              raw_stats_list.append(stats.statistics)
              while len(raw_stats_list) > NODE_STATISTICS_MEMORY:
                  raw_stats_list.pop(0)
function_tokens: def simulation_periodic_update ( self , viz ) : nodes_statistics = viz . simulation . sim_helper . GetNodesStatistics ( ) for stats in nodes_statistics : try : raw_stats_list = self . node_statistics [ stats . nodeId ] except KeyError : raw_stats_list = [ ] self . node_statistics [ stats . nodeId ] = raw_stats_list raw_stats_list . append ( stats . statistics ) while len ( raw_stats_list ) > NODE_STATISTICS_MEMORY : raw_stats_list . pop ( 0 )