fragile.callbacks.time_tracking#

Module Contents#

Classes#

TrackSteps

The Walkers is a data structure that takes care of all the data involved in making a Swarm evolve.

class fragile.callbacks.time_tracking.TrackSteps(swarm=None, param_dict=None, inputs=None, outputs=None)[source]#

Bases: fragile.core.api_classes.Callback

The Walkers is a data structure that takes care of all the data involved in making a Swarm evolve.

Parameters
  • swarm (Optional[SwarmAPI]) –

  • param_dict (Optional[fragile.core.typing.StateDict]) –

  • inputs (Optional[fragile.core.typing.InputDict]) –

  • outputs (Optional[Tuple[str]]) –

name = track_steps#
default_inputs#
default_outputs = ['n_step']#
property param_dict#

Return the dictionary defining all the data attributes that the component requires.

Return type

fragile.core.typing.StateDict

update_steps()[source]#
Return type

None

after_env()[source]#