it.unimi.di.mg4j.index
Class BitStreamHPIndexWriter.TowerData

java.lang.Object
  extended by it.unimi.di.mg4j.index.BitStreamHPIndexWriter.TowerData
Enclosing class:
BitStreamHPIndexWriter

public static class BitStreamHPIndexWriter.TowerData
extends Object

A structure maintaining statistical data about tower construction.


Field Summary
 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
BitStreamHPIndexWriter.TowerData()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.

Constructor Detail

BitStreamHPIndexWriter.TowerData

public BitStreamHPIndexWriter.TowerData()
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.