Open nikohansen opened 3 years ago
Do you think it could be useful to also have the possibility to add a list of infos together with the list of f values when initializing the object? In 3 dimensions for example, adding points to the archive at initialization is much faster than adding them separately after.
Do you think it could be useful to also have the possibility to add a list of infos together with the list of f values when initializing the object?
Makes perfectly sense to me.
It would be quite practical to have the option to maintain an "additional information" list where, for example, the user could store the respective solutions.
Methods that need to be modified are
add
and_add_at
remove
The list can be created only when an optional
info
argument is used for the first time to avoid always maintaining an infolist
ofNone
elements.