7 #ifndef AIDA_IRANGESET_H
8 #define AIDA_IRANGESET_H 1
52 virtual const std::vector<double> &
lowerBounds() = 0;
58 virtual const std::vector<double> &
upperBounds() = 0;
65 virtual void include(
double xMin,
double xMax) = 0;
72 virtual void exclude(
double xMin,
double xMax) = 0;
87 virtual bool isInRange(
double point) = 0;
94 virtual int size() = 0;
100 virtual double PLUS_INF() = 0;
106 virtual double MINUS_INF() = 0;
User level interface to RangeSet.
Definition: IRangeSet.h:42
virtual void include(double xMin, double xMax)=0
Add [xMin, xMax] interval to existing set of valid ranges.
virtual void exclude(double xMin, double xMax)=0
Exclude [xMin, xMax] interval from the existing set of valid ranges.
virtual void includeAll()=0
Set full range (from MINUS_INF to PLUS_INF ).
virtual void excludeAll()=0
Set empty range.
virtual const std::vector< double > & upperBounds()=0
Return array of upper Bounds for the current set of ranges.
virtual const std::vector< double > & lowerBounds()=0
Return array of lower Bounds for the current set of ranges.
virtual int size()=0
Return current number of disjoint ranges (non-overlapping intervals).
virtual ~IRangeSet()
Destructor.
Definition: IRangeSet.h:46