Source code for mushroom_rl.utils.callbacks.callback
[docs]class Callback(object):
"""
Interface for all basic callbacks. Implements a list in which it is possible
to store data and methods to query and clean the content stored by the
callback.
"""
[docs] def __call__(self, dataset):
"""
Add samples to the samples list.
Args:
dataset (list): the samples to collect.
"""
raise NotImplementedError