Class ProjectedIndex.Factory<O,​I>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) IndexFactory<I> inner
      Inner index factory.
      (package private) double kmulti
      Multiplier for k.
      (package private) boolean materialize
      Whether to use a materialized view, or a virtual view.
      (package private) boolean norefine
      Disable refinement of distances.
      (package private) Projection<O,​I> proj
      Projection to use.
    • Constructor Summary

      Constructors 
      Constructor Description
      Factory​(Projection<O,​I> proj, IndexFactory<I> inner, boolean materialize, boolean norefine, double kmulti)
      Constructor.
    • Field Detail

      • materialize

        boolean materialize
        Whether to use a materialized view, or a virtual view.
      • norefine

        boolean norefine
        Disable refinement of distances.
      • kmulti

        double kmulti
        Multiplier for k.
    • Constructor Detail

      • Factory

        public Factory​(Projection<O,​I> proj,
                       IndexFactory<I> inner,
                       boolean materialize,
                       boolean norefine,
                       double kmulti)
        Constructor.
        Parameters:
        proj - Projection
        inner - Inner index
        materialize - Flag for materializing
        norefine - Disable refinement of distances
        kmulti - Multiplicator for k.