class_docstr: !
  @brief Genetic algorithm observer that is used to collect information about clustering process on each iteration.
class_docstr_tok: ["!","@","brief","Genetic","algorithm","observer","that","is","used","to","collect","information","about","clustering","process","on","each","iteration","."]
docstr: !
  @brief Stores average value of fitness function among chromosomes on specific iteration.
  
  @param[in] fitness_functions (float): Average value of fitness functions among chromosomes.
docstr_tok: ["!","@","brief","Stores","average","value","of","fitness","function","among","chromosomes","on","specific","iteration",".","@","param","[","in","]","fitness_functions","(","float",")",":","Average","value","of","fitness","functions","among","chromosomes","."]
code: def collect_mean(self, fitness_functions):
      """!
      @brief Stores average value of fitness function among chromosomes on specific iteration.
  
      @param[in] fitness_functions (float): Average value of fitness functions among chromosomes.
  
      """
  
      if not self._need_mean_ff:
          return
  
      self._mean_ff_result.append(numpy.mean(fitness_functions))
  
imports: import numpy
  import matplotlib.pyplot
  import matplotlib.animation
  from pyclustering.cluster import cluster_visualizer
  from pyclustering.cluster.ga_maths import ga_math
label_desc: Use image node_id 5 for calling the ga_observer obj's underlying member method code with example usage: obj.collect_mean(fitness_functions) without return types