Class MaxDiffFilter

java.lang.Object
nl.tudelft.simulation.language.filters.AbstractFilter
nl.tudelft.simulation.jstats.filters.MaxDiffFilter
All Implemented Interfaces:
Serializable, FilterInterface

public class MaxDiffFilter extends AbstractFilter
The MaxDiffFilter accepts entries if their value is larger than the percentage of the last received Value.

Copyright (c) 2004-2024 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://simulation.tudelft.nl. The DSOL project is distributed under a three-clause BSD-style license, which can be found at https://https://simulation.tudelft.nl/dsol/docs/latest/license.html.

Author:
Peter Jacobs , Alexander Verbraeck
See Also:
  • Constructor Details

    • MaxDiffFilter

      public MaxDiffFilter(double acceptedDifferencePercentage)
      constructs a new MaxDiffFilter.
      Parameters:
      acceptedDifferencePercentage - double; the maximum accepted difference percentage, e.g. 10%
  • Method Details