public class RecursiveBlockHandler extends LiteralBlockHandler
satInstance
needsUpdate
Constructor and Description |
---|
RecursiveBlockHandler(CnfSatInstance satInstance,
int instanceSize) |
Modifier and Type | Method and Description |
---|---|
void |
announceChange() |
java.util.List<java.lang.Integer> |
buildRepresentation(java.util.TreeSet<java.lang.Integer> clause) |
int |
defineNewBlock(java.util.TreeSet<java.lang.Integer> block) |
void |
ensureRepresentability(java.util.TreeSet<java.lang.Integer> block) |
java.util.TreeSet<java.lang.Integer> |
getBlock(int blockID) |
java.util.Collection<java.util.TreeSet<java.lang.Integer>> |
getBlocks() |
java.util.List<java.lang.Integer> |
getSubblocks(int blockID) |
boolean |
needsUpdate()
States whether a view of this object needs to be updated.
|
KahinaTree |
retrieveBlockTree() |
requireUpdate
public RecursiveBlockHandler(CnfSatInstance satInstance, int instanceSize)
public java.util.List<java.lang.Integer> getSubblocks(int blockID)
public java.util.List<java.lang.Integer> buildRepresentation(java.util.TreeSet<java.lang.Integer> clause)
buildRepresentation
in class LiteralBlockHandler
public void ensureRepresentability(java.util.TreeSet<java.lang.Integer> block)
ensureRepresentability
in class LiteralBlockHandler
public java.util.Collection<java.util.TreeSet<java.lang.Integer>> getBlocks()
getBlocks
in class LiteralBlockHandler
public int defineNewBlock(java.util.TreeSet<java.lang.Integer> block)
public KahinaTree retrieveBlockTree()
public java.util.TreeSet<java.lang.Integer> getBlock(int blockID)
getBlock
in class LiteralBlockHandler
public void announceChange()
public boolean needsUpdate()
KahinaObject
needsUpdate
in class KahinaObject