ELI5: Explain Like I'm 5

Enumerator (in theoretical computer science)

Imagine a librarian who has a big bookshelf with many books on it. Now imagine that every book has a label with a number written on it, starting from 1 and going up to infinity.

Now an enumerator is someone who can look at this bookshelf and list all the numbers on the labels in order, one by one. They don't need to know what's inside the books, they just need to know how to count them.

In theoretical computer science, an enumerator is like this librarian. Only instead of books, the enumerator is looking at sets or collections of things, like all possible combinations of a set of numbers or all the possible outcomes of a coin flip.

The enumerator's job is to count all the members of these sets, one by one, so that we can understand how many there are, and what properties they have. This is important for computer scientists who want to analyze algorithms, study probability or understand the limits of computation.