def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def notify(self, means, covariances, clusters):
        """!
        @brief This method is used by the algorithm to notify observer about changes where the algorithm
                should provide new values: means, covariances and allocated clusters.