Package it.unimi.dsi.big.webgraph
Class EFGraph.Accumulator
java.lang.Object
it.unimi.dsi.big.webgraph.EFGraph.Accumulator
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- EFGraph
-
Field Summary
Modifier and TypeFieldDescriptionlong
The number of bits used for the lower-bits array.long
The number of bits used for forward/skip pointers.long
The number of bits used for the upper-bits array. -
Constructor Summary
-
Method Summary
-
Field Details
-
bitsForUpperBits
public long bitsForUpperBitsThe number of bits used for the upper-bits array. -
bitsForLowerBits
public long bitsForLowerBitsThe number of bits used for the lower-bits array. -
bitsForPointers
public long bitsForPointersThe number of bits used for forward/skip pointers.
-
-
Constructor Details
-
Accumulator
- Throws:
IOException
-
-
Method Details
-
lowerBits
public int lowerBits() -
pointerSize
public int pointerSize() -
numberOfPointers
public long numberOfPointers() -
init
public void init(long length, long upperBound, boolean strict, boolean indexZeroes, int log2Quantum) -
add
- Throws:
IOException
-
dump
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-