next up previous contents index
Next: Problem Definition Up: The Interval Partitioning Problem Previous: Introduction

Preliminaries

    Before formally investigating the complexity of the interval partitioning problem, we introduce the notation that is used in the remainder of the chapter.

The functions $s_{\scriptscriptstyle R}, e_{\scriptscriptstyle R}, i_{\scriptscriptstyle R}, o_{\scriptscriptstyle R}$ will prove to be quite useful for demonstrating a variety of properties. Actually, each of them can be expressed by using two of the others. Their relationships can be derived from the three basic properties that are obvious from the definition of $s_{\scriptscriptstyle R}, e_{\scriptscriptstyle R}, i_{\scriptscriptstyle R}$ and $o_{\scriptscriptstyle R}$:

and  
 \begin{displaymath}
s_{\scriptscriptstyle R}(t) = e_{\scriptscriptstyle R}(t) = ...
 ...) = 0 
\qquad \text{for~~$t < t_{\min}$~~and~~$t \gt t_{\max}$}\end{displaymath} (11)
Equation (5.1) reflects the fact that the intervals that overlap t are those that include t apart from those that end at t. Equation (5.2) considers that intervals that include t must either start at t - these are counted by $s_{\scriptscriptstyle R}(t)$ - or have started at t-1 or before without ending at t-1 - these are counted by $o_{\scriptscriptstyle R}(t-1)$. Finally, (5.3) is rather trivial as it indicates that nothing goes on outside the range T(R).

If at least two of the functions $s_{\scriptscriptstyle R}, e_{\scriptscriptstyle R}, i_{\scriptscriptstyle R}, o_{\scriptscriptstyle R}$ are known then we can compute the missing ones by using equations (5.1), (5.2) and (5.3). Figure 5.1 shows the equations that can be derived. The case of having the values $s_{\scriptscriptstyle R}(t)$ and $e_{\scriptscriptstyle R}(t)$ - this corresponds to figure 5.1(a) - is a little bit tricky because the equations are recursive: Replacing $i_{\scriptscriptstyle R}(t)$ in (5.1) by using (5.2) delivers  
 \begin{displaymath}
o_{\scriptscriptstyle R}(t) = o_{\scriptscriptstyle R}(t-1) + s_{\scriptscriptstyle R}(t) - e_{\scriptscriptstyle R}(t)\end{displaymath} (12)
which works out to be  
 \begin{displaymath}
o_{\scriptscriptstyle R}(t_{\min}) = s_{\scriptscriptstyle R}(t_{\min}) - e_{\scriptscriptstyle R}(t_{\min})\end{displaymath} (13)
as we can derive $o_{\scriptscriptstyle R}(t_{\min}-1)=0$ from (5.3). Using (5.5) as a starting point, subsequent values can be calculated by applying (5.2) or (5.4) respectively.

The remaining equations shown in figure 5.1 result from algebraic transformations and combinations of equations (5.1) and (5.2).


        
Figure: Relationships between $s_{\scriptscriptstyle R}, e_{\scriptscriptstyle R}, o_{\scriptscriptstyle R}$ and $i_{\scriptscriptstyle R}$.
\begin{figure}

\begin{footnotesize}

\mbox{
\subfigure[~]{

\fbox {
\begin{mini...
 ...criptstyle R}(t)\end{eqnarray*}\end{minipage}}
}
}\end{footnotesize}\end{figure}


next up previous contents index
Next: Problem Definition Up: The Interval Partitioning Problem Previous: Introduction

Thomas Zurek