Class ChunckedTrail<W extends World>
- java.lang.Object
-
- org.chocosolver.memory.trailing.trail.chunck.ChunckedTrail<W>
-
- All Implemented Interfaces:
IStorage
- Direct Known Subclasses:
ChunckedBoolTrail
,ChunckedDoubleTrail
,ChunckedIntTrail
,ChunckedLongTrail
,ChunckedOperationTrail
public abstract class ChunckedTrail<W extends World> extends Object implements IStorage
An abstract segmented trail.- Since:
- 29/05/2016
- Author:
- Fabien Hermenier, Charles Prud'homme
-
-
Constructor Summary
Constructors Constructor Description ChunckedTrail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
allocated()
Returns the allocated trail size.void
worldCommit(int worldIndex)
Comitting the current world: merging it with the previous one.void
worldPop(int worldIndex)
Moving down to the previous world.
-
-
-
Method Detail
-
worldPop
public void worldPop(int worldIndex)
Moving down to the previous world.
-
worldCommit
public void worldCommit(int worldIndex)
Description copied from interface:IStorage
Comitting the current world: merging it with the previous one. Not used yet.- Specified by:
worldCommit
in interfaceIStorage
-
allocated
public int allocated()
Returns the allocated trail size.- Returns:
- a positive number
-
-