Class SnippetFilter
java.lang.Object
nl.tudelft.simulation.language.filters.AbstractFilter
nl.tudelft.simulation.jstats.filters.SnippetFilter
- All Implemented Interfaces:
Serializable
,FilterInterface
The snippet filter only accepts one entry per snippet value. A snippet is a range in x-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:
-
Field Summary
Fields inherited from class nl.tudelft.simulation.language.filters.AbstractFilter
inverted
-
Constructor Summary
-
Method Summary
Methods inherited from class nl.tudelft.simulation.language.filters.AbstractFilter
accept, and, isInverted, or, setInverted, toString
-
Constructor Details
-
SnippetFilter
public SnippetFilter(double snippet) constructs a new SnippetFilter. A snippet filter test only accepts one entry per snippet value. A snippet is a range in x-value.- Parameters:
snippet
- double; the snippet to use. A snippet is a range in the x-value.
-
-
Method Details
-
filter
- Specified by:
filter
in classAbstractFilter
-
getCriterion
- Specified by:
getCriterion
in interfaceFilterInterface
- Specified by:
getCriterion
in classAbstractFilter
-