public class ChunckedBoolTrail extends ChunckedTrail<BoolWorld> implements IStoredBoolTrail
current, worlds| Constructor and Description |
|---|
ChunckedBoolTrail(int ws,
int nbWorlds,
double loadfactor)
Constructs a trail with predefined size and loadfactor
|
| Modifier and Type | Method and Description |
|---|---|
void |
buildFakeHistory(StoredBool v,
boolean initValue,
int olderStamp) |
void |
savePreviousState(StoredBool v,
boolean oldValue,
int oldStamp) |
void |
worldPush(int worldIndex)
Moving up to the next world.
|
allocated, worldCommit, worldPopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitworldCommit, worldPoppublic ChunckedBoolTrail(int ws,
int nbWorlds,
double loadfactor)
ws - the initial world sizenbWorlds - the initial number of worldsloadfactor - how to resize worldpublic void worldPush(int worldIndex)
IStoragepublic void savePreviousState(StoredBool v, boolean oldValue, int oldStamp)
savePreviousState in interface IStoredBoolTrailpublic void buildFakeHistory(StoredBool v, boolean initValue, int olderStamp)
buildFakeHistory in interface IStoredBoolTrailCopyright © 2017. All rights reserved.