Class RandomDoubleVectorDatabaseConnection

  • All Implemented Interfaces:
    DatabaseConnection

    public class RandomDoubleVectorDatabaseConnection
    extends AbstractDatabaseConnection
    Produce a database of random double vectors with each dimension in [0:1].
    Since:
    0.4.0
    Author:
    Erich Schubert
    • Field Detail

      • LOG

        private static final Logging LOG
        Class logger.
      • dim

        protected int dim
        Dimensionality.
      • size

        protected int size
        Size of database to generate.
    • Constructor Detail

      • RandomDoubleVectorDatabaseConnection

        public RandomDoubleVectorDatabaseConnection​(int dim,
                                                    int size,
                                                    RandomFactory rnd,
                                                    java.util.List<? extends ObjectFilter> filters)
        Constructor.
        Parameters:
        dim - Dimensionality
        size - Database size
        rnd - Random generator
        filters - Filters to use