The state iterator is a library intended to be used directly through its API. See the provided examples, and consider the documentation. The documentation can be generated with: ...