** implementaion of Interval
*/
+
+/**
+ * @brief clears the interval (make it empty).
+ */
+void Interval::clear()
+{
+ m_lower_bound = m_upper_bound = 0;
+} // eo Interval::clear()
+
+
/**
* @brief tests if there is some overlapping with another interval
* @param other the other interval
} // eo Intervals::Intervals
+void Intervals::clear()
+{
+ m_intervals.clear();
+} // eo Intervals::clear()
+
/**
* @brief tests if one of the intervals of the list intersects with the given interval.
* @param other the interval to check for intersection.
{
} //
+
+ void clear();
+
bool is_valid() const
{
return m_lower_bound <= m_upper_bound;
void add(const Interval& new_frame);
void sub(const Interval& new_frame);
+ void clear();
const_iterator begin() const { return m_intervals.begin(); }
const_iterator end() const { return m_intervals.end(); }