it.unimi.dsi.mg4j.index
Class SkipIndexWriter.TowerData

java.lang.Object
  extended byit.unimi.dsi.mg4j.index.SkipIndexWriter.TowerData
Enclosing class:
SkipIndexWriter

public static class SkipIndexWriter.TowerData
extends Object

A structure maintaining statistical data about tower construction.


Field Summary
 long bitsForLowerSkipAmounts
          The number of bits written for skip amounts 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 bitsForTopSkipAmounts
          The number of bits written for skip amounts 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 numberOfSkipEntries
          The number of written skip entries.
 long numberOfSkipTowers
          The number of written skip towers.
 
Constructor Summary
SkipIndexWriter.TowerData()
           
 
Method Summary
 long bitsForEntries()
          Returns the overall number of bits used for tower entries (bits for tower lengths are not included).
 long bitsForSkipAmounts()
          Returns the overall number of bits used for skip amounts.
 long bitsForSkipPointers()
          Returns the overall number of bits used for skip pointers.
 long bitsForTowers()
          Returns the overall number of bits used for towers.
 long numberOfLowerEntries()
          Returns the number of lower entries, that is, the number of entries minus the number of towers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bitsForTopSkipAmounts

public long bitsForTopSkipAmounts
The number of bits written for skip amounts at the top of a tower.


bitsForTopSkipPointers

public long bitsForTopSkipPointers
The number of bits written for skip pointers at the top of a tower.


bitsForLowerSkipAmounts

public long bitsForLowerSkipAmounts
The number of bits written for skip amounts 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.


numberOfSkipEntries

public long numberOfSkipEntries
The number of written skip entries.

Constructor Detail

SkipIndexWriter.TowerData

public SkipIndexWriter.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.

bitsForSkipAmounts

public long bitsForSkipAmounts()
Returns the overall number of bits used for skip amounts.

Returns:
the overall number of bits used for skip amounts.

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.

numberOfLowerEntries

public long numberOfLowerEntries()
Returns the number of lower entries, that is, the number of entries minus the number of towers.

Returns:
the number of lower entries.