public abstract class UpdateableBitmapFunction
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) boolean[] |
b |
(package private) int |
hammingWeight |
(package private) int |
litWeight |
(package private) BitSet |
litwlist |
(package private) EWAHPointer[] |
rw |
Constructor and Description |
---|
UpdateableBitmapFunction() |
Modifier and Type | Method and Description |
---|---|
void |
clearLiteral(int pos) |
abstract void |
dispatch(BitmapStorage out,
int runBegin,
int runEnd)
Writes out the answer.
|
void |
fillWithLiterals(java.util.List<EWAHPointer> container)
append to the list the literal words as EWAHPointer
|
java.lang.Iterable<EWAHPointer> |
getLiterals()
Goes through the literals.
|
int |
getNumberOfLiterals() |
void |
resize(int newsize) |
void |
setLiteral(int pos) |
void |
setOne(int pos) |
void |
setZero(int pos) |
EWAHPointer[] rw
int hammingWeight
int litWeight
boolean[] b
final BitSet litwlist
public final int getNumberOfLiterals()
public final java.lang.Iterable<EWAHPointer> getLiterals()
public final void fillWithLiterals(java.util.List<EWAHPointer> container)
container
- where we writepublic final void resize(int newsize)
newsize
- the number of inputspublic void setLiteral(int pos)
pos
- position of a literalpublic void clearLiteral(int pos)
pos
- position where a literal was removedpublic final void setZero(int pos)
pos
- position where a zero word was addedpublic final void setOne(int pos)
pos
- position were a 11...1 word was addedpublic abstract void dispatch(BitmapStorage out, int runBegin, int runEnd)
out
- output bufferrunBegin
- beginning of the runrunEnd
- end of the run