Class UncertainifyFilter<UO extends UncertainObject>

  • Type Parameters:
    UO - Uncertain object type
    All Implemented Interfaces:
    ObjectFilter

    public class UncertainifyFilter<UO extends UncertainObject>
    extends java.lang.Object
    implements ObjectFilter
    Filter class to transform a database containing vector fields into a database containing UncertainObject fields by invoking a Uncertainifier on each vector.

    The purpose for that is to use those transformed databases in experiments regarding uncertain data in some way.

    Since:
    0.7.0
    Author:
    Alexander Koos, Erich Schubert
    • Field Detail

      • LOG

        private static final Logging LOG
        Class logger.
      • keep

        protected boolean keep
        Flag to keep the original data.
      • rand

        protected java.util.Random rand
        Random generator.
    • Constructor Detail

      • UncertainifyFilter

        public UncertainifyFilter​(Uncertainifier<UO> generator,
                                  boolean keep,
                                  RandomFactory randf)
        Constructor.
        Parameters:
        generator - Generator for uncertain objects
        keep - Flag to keep the original data
        randf - Random factory