Class MkTreeHeader

  • All Implemented Interfaces:
    PageHeader

    public class MkTreeHeader
    extends TreeIndexHeader
    Encapsulates the header information for subclasses of AbstractMkTreeUnified. This information is needed for persistent storage.
    Since:
    0.2
    Author:
    Elke Achtert
    • Field Detail

      • SIZE

        private static int SIZE
        The size of this header in Bytes, which is 4 Bytes (for k_max).
      • k_max

        private int k_max
        The maximum number k of reverse kNN queries to be supported.
    • Constructor Detail

      • MkTreeHeader

        public MkTreeHeader()
        Empty constructor for serialization.
      • MkTreeHeader

        public MkTreeHeader​(int pageSize,
                            int dirCapacity,
                            int leafCapacity,
                            int k_max)
        Creates a nerw header with the specified parameters.
        Parameters:
        pageSize - the size of a page in bytes
        dirCapacity - the capacity of a directory node
        leafCapacity - the capacity of a leaf node
        k_max - the parameter k