elites_with_measures and elites_with_measures_single is a very long name. retrieve is much more succinct.
While the name may be more vague, we think this is okay because we review the method in the lunar lander tutorial. Furthermore, the usage makes the meaning very clear; e.g., elite_batch = archive.retrieve(measures_batch).
We also considered the name find but find implies a search, which is not what this method is doing. This method is merely retrieving the elite at a given cell, not searching the archive to find an elite with the given measures.
Description
elites_with_measures
andelites_with_measures_single
is a very long name.retrieve
is much more succinct.While the name may be more vague, we think this is okay because we review the method in the lunar lander tutorial. Furthermore, the usage makes the meaning very clear; e.g.,
elite_batch = archive.retrieve(measures_batch)
.We also considered the name
find
butfind
implies a search, which is not what this method is doing. This method is merely retrieving the elite at a given cell, not searching the archive to find an elite with the given measures.TODO
Questions
Status
yapf
pytest
pylint
HISTORY.md