Class ChunckedLongTrail

    • Constructor Detail

      • ChunckedLongTrail

        public ChunckedLongTrail​(int ws,
                                 int nbWorlds,
                                 double loadfactor)
        Constructs a trail with predefined size and loadfactor
        Parameters:
        ws - the initial world size
        nbWorlds - the initial number of worlds
        loadfactor - how to resize world
    • Method Detail

      • worldPush

        public void worldPush​(int worldIndex)
        Description copied from interface: IStorage
        Moving up to the next world.

        Cette methode doit garder l'etat de la variable avant la modification de sorte a la remettre en etat le cas echeant.

        Specified by:
        worldPush in interface IStorage
        Parameters:
        worldIndex - current world index