Exemple #1
0
 /// <summary>
 /// Deep copy constructor
 /// </summary>
 /// <param name="source">Source instance</param>
 public RealFeatureFilterSettings(RealFeatureFilterSettings source)
     : base(source)
 {
     Standardize = source.Standardize;
     KeepReserve = source.KeepReserve;
     return;
 }
Exemple #2
0
 /// <summary>
 /// Instantiates an initialized instance
 /// </summary>
 /// <param name="outputRange">Filter's output range</param>
 /// <param name="settings">Settings class</param>
 public RealFeatureFilter(Interval outputRange, RealFeatureFilterSettings settings)
     : base(FeatureType.Real, outputRange)
 {
     _standardize = settings.Standardize;
     _keepReserve = settings.KeepReserve;
     _range       = new Interval();
     _invalidated = true;
     return;
 }
Exemple #3
0
        //Methods
        /// <summary>
        /// See the base.
        /// </summary>
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            RealFeatureFilterSettings cmpSettings = obj as RealFeatureFilterSettings;

            if (Standardize != cmpSettings.Standardize || KeepReserve != cmpSettings.KeepReserve)
            {
                return(false);
            }
            return(base.Equals(obj));
        }
Exemple #4
0
 /// <summary>
 /// The deep copy constructor.
 /// </summary>
 /// <param name="source">The source instance.</param>
 public RealFeatureFilterSettings(RealFeatureFilterSettings source)
     : this(source.Standardize, source.KeepReserve)
 {
     return;
 }