fragile.callbacks.root_walker
Contents
fragile.callbacks.root_walker
#
Module Contents#
Classes#
The |
|
The |
|
The |
- class fragile.callbacks.root_walker.RootWalker(**kwargs)[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.- name = root#
- property data#
- reset(root_walker=None, state=None, **kwargs)[source]#
Reset the internal state of the
SwarmComponent
.- Parameters
inplace (bool, optional) – Unused. Defaults to True.
root_walker (Optional[StateData], optional) – Set the internal state of the
SwarmComponent
to this value. Defaults to None.states (Optional[StateData], optional) – Set the internal state of the
SwarmComponent
to this value. Defaults to None.kwargs – Other parameters required to reset the component.
- class fragile.callbacks.root_walker.BestWalker(always_update=False, fix_root=True, **kwargs)[source]#
Bases:
RootWalker
The
Walkers
is a data structure that takes care of all the data involved in making a Swarm evolve.- Parameters
always_update (bool) –
- default_inputs#