Class DAFile


  • @Reference(authors="Hans-Peter Kriegel, Peer Kr\u00f6ger, Matthias Schubert, Ziyue Zhu",
               title="Efficient Query Processing in Arbitrary Subspaces Using Vector Approximations",
               booktitle="Proc. 18th Int. Conf. on Scientific and Statistical Database Management (SSDBM 06)",
               url="https://doi.org/10.1109/SSDBM.2006.23",
               bibkey="DBLP:conf/ssdbm/KriegelKSZ06")
    public class DAFile
    extends java.lang.Object
    Dimension approximation file, a one-dimensional part of the PartialVAFile.

    Reference:

    Hans-Peter Kriegel, Peer Kröger, Matthias Schubert, Ziyue Zhu
    Efficient Query Processing in Arbitrary Subspaces Using Vector Approximations
    Proc. 18th Int. Conf. on Scientific and Statistical Database Management (SSDBM 06)

    Since:
    0.5.0
    Author:
    Thomas Bernecker, Erich Schubert
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int dimension
      Dimension of this approximation file.
      private double[] splitPositions
      Splitting grid.
    • Constructor Summary

      Constructors 
      Constructor Description
      DAFile​(Relation<? extends NumberVector> relation, int dimension, int partitions)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getDimension()
      Return the dimension we indexed.
      int getIOCosts()
      Estimate the IO costs for this index.
      double[] getSplitPositions()
      Return the split positions.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • dimension

        private final int dimension
        Dimension of this approximation file.
      • splitPositions

        private final double[] splitPositions
        Splitting grid.
    • Constructor Detail

      • DAFile

        public DAFile​(Relation<? extends NumberVector> relation,
                      int dimension,
                      int partitions)
        Constructor.
        Parameters:
        relation - Relation to index
        dimension - Dimension of this file
        partitions - Number of partitions
    • Method Detail

      • getSplitPositions

        public double[] getSplitPositions()
        Return the split positions.
        Returns:
        the split positions
      • getDimension

        public int getDimension()
        Return the dimension we indexed.
        Returns:
        the dimension
      • getIOCosts

        public int getIOCosts()
        Estimate the IO costs for this index.
        Returns:
        IO costs