Package it.unimi.di.big.mg4j.index
Class SkipBitStreamIndexWriter.TowerData
 java.lang.Object

 it.unimi.di.big.mg4j.index.SkipBitStreamIndexWriter.TowerData

 Enclosing class:
 SkipBitStreamIndexWriter
public static class SkipBitStreamIndexWriter.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
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
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
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.

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.

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.

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.

