Package it.unimi.di.big.mg4j.index
Class BitStreamHPIndexWriter.TowerData
- java.lang.Object
-
- it.unimi.di.big.mg4j.index.BitStreamHPIndexWriter.TowerData
-
- Enclosing class:
- BitStreamHPIndexWriter
public static class BitStreamHPIndexWriter.TowerData extends Object
A structure maintaining statistical data about tower construction.
-
-
Field Summary
Fields Modifier and Type Field Description long
bitsForLowerBitSkips
The number of bits written for bit skips in the lower part of a tower.long
bitsForLowerPositionsBitSkips
The number of bits written for positions bit skips in the lower part of a tower.long
bitsForLowerSkipPointers
The number of bits written for skip pointers in the lower part of a tower.long
bitsForTopBitSkips
The number of bits written for bit skips at the top of a tower.long
bitsForTopPositionsBitSkips
The number of bits written for positions bit skips at the top of a tower.long
bitsForTopSkipPointers
The number of bits written for skip pointers at the top of a tower.long
bitsForTowerLengths
The number of bits written for tower lengths.long
numberOfLowerEntries
The number of written lower skip entries.long
numberOfSkipTowers
The number of written skip towers.long
numberOfTopEntries
The number of written top skip entries.
-
Constructor Summary
Constructors Constructor Description TowerData()
-
Method Summary
Modifier and Type Method Description long
bitsForBitSkips()
Returns the overall number of bits used for bit skips.long
bitsForEntries()
Returns the overall number of bits used for tower entries (bits for tower lengths are not included).long
bitsForPositionsBitSkips()
Returns the overall number of bits used for bit skips.long
bitsForSkipPointers()
Returns the overall number of bits used for skip pointers.long
bitsForTowers()
Returns the overall number of bits used for towers.long
numberOfEntries()
Returns the overall number of entries.
-
-
-
Field Detail
-
bitsForTopBitSkips
public long bitsForTopBitSkips
The number of bits written for bit skips at the top of a tower.
-
bitsForTopPositionsBitSkips
public long bitsForTopPositionsBitSkips
The number of bits written for positions bit skips at the top of a tower.
-
bitsForTopSkipPointers
public long bitsForTopSkipPointers
The number of bits written for skip pointers at the top of a tower.
-
bitsForLowerBitSkips
public long bitsForLowerBitSkips
The number of bits written for bit skips in the lower part of a tower.
-
bitsForLowerPositionsBitSkips
public long bitsForLowerPositionsBitSkips
The number of bits written for positions bit skips in the lower part of a tower.
-
bitsForLowerSkipPointers
public long bitsForLowerSkipPointers
The number of bits written for skip pointers in the lower part of a tower.
-
bitsForTowerLengths
public long bitsForTowerLengths
The number of bits written for tower lengths.
-
numberOfSkipTowers
public long numberOfSkipTowers
The number of written skip towers.
-
numberOfTopEntries
public long numberOfTopEntries
The number of written top skip entries.
-
numberOfLowerEntries
public long numberOfLowerEntries
The number of written lower skip entries.
-
-
Method Detail
-
bitsForSkipPointers
public long bitsForSkipPointers()
Returns the overall number of bits used for skip pointers.- Returns:
- the overall number of bits used for skip pointers.
-
bitsForBitSkips
public long bitsForBitSkips()
Returns the overall number of bits used for bit skips.- Returns:
- the overall number of bits used for bit skips.
-
bitsForPositionsBitSkips
public long bitsForPositionsBitSkips()
Returns the overall number of bits used for bit skips.- Returns:
- the overall number of bits used for bit skips.
-
bitsForEntries
public long bitsForEntries()
Returns the overall number of bits used for tower entries (bits for tower lengths are not included).- Returns:
- the overall number of bits used for tower entries.
-
bitsForTowers
public long bitsForTowers()
Returns the overall number of bits used for towers.- Returns:
- the overall number of bits used for towers.
-
numberOfEntries
public long numberOfEntries()
Returns the overall number of entries.- Returns:
- the overall number of entries.
-
-