Class ShuffleObjectsFilter.Par

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) RandomFactory rnd
      Random generator
      static OptionID SEED_ID
      Optional parameter to specify a seed for randomly shuffling the rows of the database.
    • Constructor Summary

      Constructors 
      Constructor Description
      Par()  
    • Field Detail

      • SEED_ID

        public static final OptionID SEED_ID
        Optional parameter to specify a seed for randomly shuffling the rows of the database. If not set, a random seed will be used. Shuffling takes time linearly dependent from the size of the database.
    • Constructor Detail

      • Par

        public Par()
    • Method Detail

      • configure

        public void configure​(Parameterization config)
        Description copied from interface: Parameterizer
        Configure the class.

        Note: the status is collected by the parameterization object, so that multiple errors may arise and be reported in one run.

        Specified by:
        configure in interface Parameterizer
        Parameters:
        config - Parameterization
      • make

        public ShuffleObjectsFilter make()
        Description copied from interface: Parameterizer
        Make an instance after successful configuration.

        Note: your class should return the exact type, only this very broad interface should use Object as return type.

        Specified by:
        make in interface Parameterizer
        Returns:
        a new instance