Class OperationWorld
- java.lang.Object
-
- org.chocosolver.memory.trailing.trail.chunck.OperationWorld
-
-
Constructor Summary
Constructors Constructor Description OperationWorld(int defaultSize, double loadfactor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intallocated()The allocated trail for this world.voidclear()Clean the stackvoidrevert()Pop all the stack.voidsavePreviousState(IOperation v)Reacts when a StoredInt is modified: push the former value & timestamp on the stacks.intused()The amount of values in the stack
-
-
-
Method Detail
-
savePreviousState
public void savePreviousState(IOperation v)
Reacts when a StoredInt is modified: push the former value & timestamp on the stacks.
-
revert
public void revert()
Description copied from interface:WorldPop all the stack.
-
clear
public void clear()
Description copied from interface:WorldClean the stack
-
allocated
public int allocated()
Description copied from interface:WorldThe allocated trail for this world.
-
-