.. _ContainerFly: #################### Container on-the-fly #################### The **on-the-fly** method is most advanced class and does not has any noticeable memory overhead compared to the other two approaches. The basic idea is already implemented in the :ref:`State class`, see :ref:`State_Conserve_Functions`, and can be understood in the limit of partitioning a system of size **L** into **L** parts. While the :ref:`State class` determines the index by calculating combinatorial coefficients **on-the-fly** the :ref:`Container class` determines all possible coefficients in advance making the approach much faster. They are stored in :ref:`dimensions`. Data members ------------ .. _ContainerFly_dimensions: .. doxygenvariable:: danceq::internal::ContainerFly::dimensions .. doxygenvariable:: danceq::internal::ContainerFly::L const .. doxygenvariable:: danceq::internal::ContainerFly::n_max const .. doxygenvariable:: danceq::internal::ContainerFly::maximal_state_per_n .. doxygenvariable:: danceq::internal::ContainerFly::minimal_state_per_n