1 Introduction

We consider the problem of evacuating two robots from the unit disk via an unknown exit on the boundary. The robots start at the center of the disk and move at unit speed (with infinite acceleration). They have unlimited computing resources and we neglect the time taken to perform arbitrary calculations. However, robots are point-shaped and only perceive the information available at their respective locations. In particular, they can only exchange information (in no time) while colocated at the same point on the disk. Both robots have full knowledge of the algorithms executed by either robot, and they share the same coordinate system. The objective is to minimize the evacuation time, i.e., the time needed until both robots have reached the exit, in the worst case over all possible positions of the exit. Note that the evacuation time for an algorithm is equal to its competitive ratio, since the shortest path to any potential exit location has length one.

This evacuation problem was first introduced by Czyzowicz et al. [12], who showed that the basic algorithm that moves both robots along the boundary in opposing directions achieves an evacuation time of 5.74 and gave a lower bound of 5.199. In a follow-up paper, Czyzowicz et al. [9] presented two improved algorithms with evacuation times of 5.644 and 5.628. Both these algorithms introduce detours through the interior of the disk and may lead to a forced meeting before the exit is found. Additionally, Czyzowicz et al. [9] improved the lower bound to 5.255. Brandt et al. [5] introduced a general necessary condition for worst-case exit positions and gave a slightly improved algorithm, without forced meeting, that achieves an evacuation time of 5.625. Figure 1 shows the trajectories of both robots in each of these algorithms.

Fig. 1.
figure 1

From left to right: The evolution of the algorithms presented in [12], [9] and [5]. Green indicates the trajectories of robot \(R_1\), red indicates the trajectories of robot \(R_2\) and orange indicates that both robots move together. (Color figure online)

1.1 Our Results

The idea behind introducing a detour through the interior of the disk is to protect the algorithm against the worst-possible exit position: Since the robot that finds the exit needs to intercept the other robot, it makes sense to move towards the other robot before reaching the worst-case interception point, which worsens the evacuation time for some exit positions, but improves it for the worst case. Of course, we can apply this idea iteratively to improve the new worst case by introducing a second detour etc. Brandt et al. [5] discuss this idea and state: “However, the improvement in the evacuation time achieved by the collection of these very small cuts is negligibly small, even compared to the improvement given by our algorithm.” We refute this statement by showing that introducing even only a single additional cut reduces the evacuation time by the same order of magnitude as the improvement by Brandt et al. [5] relative to the result of Czyzowicz et al. [9]. Specifically, we improve the evacuation time to 5.6234. This indicates that there might still be room for improvement in the upper bound when considering a large family of additional cuts. It is worth noting that our algorithm does not use a forced meeting of the agents on either detour to the interior of the disk (see Fig. 5).

1.2 Related Work

Robot evacuation has been studied for various settings, differing in number of robots and/or exits, robot capabilities, objective, shape of the region, initial knowledge etc. Most results were obtained for evacuation from the disk with wireless communication, i.e., for robots that can exchange information at all times. Czyzowicz et al. [20] and Pattanayak et al. [11] consider evacuation with multiple exits and known positions of the exists relative to each other. Lamprou et al. [18] consider two robots of different speeds. Regarding evacuation with more than two robots, Czyzowicz et al. [13] study the setting with three robots, one of which may be faulty. Czyzowicz et al. focus on evacuating a single robot, the “queen”, that is supported by up to three [14] or more [8] “servants”. Regarding other environments, Czyzowicz et al. [10] study evacuation from equilateral triangles and squares, and Borowiecki et al. [4] study the evacuation problem in graphs.

A problem closely related to evacuation is the search problem. Especially the problem of finding a specific point on the line has received considerable attention, e.g., [2, 3, 16], and other works have focused on searching the plane, e.g., [15]. Another related problem is the rendezvous or gathering problem, where robots initially located at different points need to find each other [1, 6, 7, 17, 21]. Finally, the problem where one robot is trying to catch the other is called the lion and man problem and was first studied for the unit disk [19].

2 Preliminaries

In this section we define the general notation for the following work. We use the following notation for line segments and arcs between two points A, B.

  • \(\overline{AB}\) denotes the straight line segment between A and B.

  • \(\vert \overline{AB}\vert \) denotes the length of the segment \(\overline{AB}\).

  • denotes the shorter arc from A to B along the boundary of the disk for A and B on the boundary.

  • denotes the length of the arc  for A and B on the boundary.

A cut is the movement of a robot from the boundary of the disk into the interior and back to the point where the robot left the boundary. In general a cut can have any shape, but our algorithm only uses line segments. The depth of a cut is defined as half the distance traveled when moving along a cut. The evacuation time is the time until both robots have reached the exit.

Our task is to define trajectories for the robots that minimize the evacuation time. To obtain the evacuation time for a given exit we need to know where the robots exchange the information about the location of the found exit. This is done by the meeting protocol, a term coined in [9]. For an illustration, refer to Fig. 2.

Definition 1

(Meeting Protocol). If at any time \(t_0\) one of the robots finds the exit at point E, it computes the shortest additional time t so that the other robot, after traveling distance \(t_0+t\), is located at point M satisfying \(\vert \overline{EM}\vert =t\). This ensures that the robot that found the exit can move along the segment \(\overline{EM}\) to pick the other robot up at point M at time \(t_0+t\). After both robots meet they evacuate along the segment \(\overline{ME}\) via the exit at E, resulting in an evacuation time of \(t_0+2t\).

Fig. 2.
figure 2

Illustration of the meeting protocol while the robots perform the algorithm presented in [12]. Robot \(R_1\) finds the exit at point E, uses the meeting protocol to calculate the meeting point and picks up robot \(R_2\) at point M.

With the meeting protocol we are able to calculate the evacuation time for a given exit. Note that, because the robots move at unit speed, we can use time and traveled distance interchangeably. From the point of view of the robot that finds the exit, the evacuation time is the sum of the time it takes the robot to find the exit, the time it takes the robot to pick up the other robot at their meeting point, and the time it takes to get back to the exit. From the point of view of the robot that gets picked up, the evacuation time is the sum of the time it takes the robot to get to the meeting point and the time it takes the robot to travel from the meeting point to the exit. Note that equations of the form \(x+2\sin \left( (x+y)/2\right) =y\) have to be solved as part of the meeting protocol. In general there are no closed forms known for these equations and therefore we have to rely on numeric solutions.

To prove our stated evacuation time we will refer to a criterion established in [5]. We briefly recap the relevant definitions. To properly define certain relevant angles we first distinguish two cases regarding the direction of the movement of the two robots at the exit and the corresponding meeting point.

We say that the movement of the two robots at the exit and the corresponding meeting point is conform if the two robots would move to the same side of the infinite line through the exit and the corresponding meeting point if they did not find the exit, respectively were not picked up at the corresponding meeting point. If the two robots would move to different sides of the infinite line we say that their movement (at the exit and the corresponding meeting point) is converse. For an illustration, refer to Fig. 3. The authors of [5] note that the cases where one or both robots would move on the infinite line can be arbitrarily considered to belong to one of the two cases.

For the cases of conform and converse movement we now (under the assumption of local differentiability of the movement) define two angles regarding the movement of the two robots at the exit E and at the corresponding meeting point M, respectively, and the straight line segment s between E and M.

We assume that, locally, robot \(R_1\) arrives at the exit E via the local linearization of its trajectory g and would continue on g if it did not find the exit at E. Analogously, we assume that, locally, robot \(R_2\) arrives at the corresponding meeting point M via the local linearization of its trajectory h and would continue on h if it was not picked up at M.

In the case of conform movement, the angle between g and s is denoted by \(\beta \) and the angle between s and h by \(\gamma \). In the case of converse movement the angle between g and s is denoted by \(\beta \) and the angle between h and s by \(\gamma \). Note that only the definition of \(\gamma \) differs in the two cases. For an illustration, refer again to Fig. 3.

Fig. 3.
figure 3

Illustration of conform movement (left) and converse movement (right) of the robots.

Theorem 1

([5, Corollary 2.5, Theorems 2.8, 2.9 and 2.10]). If the trajectories of the two robots are differentiable around points E and M and \(2\cos \left( \beta \right) +\cos \left( \gamma \right) \ne 1\) holds, then there is an exit position that yields a larger evacuation time than placing the exit at E.

This means that, to consider an exit E as the worst-case candidate, it is necessary that either the trajectory of at least one robot is not differentiable (around the exit or the corresponding meeting point) or \(2\cos \left( \beta \right) +\cos \left( \gamma \right) =1\).

Like the algorithms illustrated in Fig. 1, our algorithm will follow the idea of initially moving the robots to an arbitrary point I on the boundary (we denote the antipodal point by \(I^{\prime }\)) and then moving one robot counter-clockwise and the other robot clockwise along the boundary to find the exit. The search on the boundary will only be interrupted if they get picked up or perform a cut. We make a statement about algorithms that follow this general idea, which is helpful to calculate the angles \(\beta \) and \(\gamma \).

Proposition 1

If the robots start their search for the exit together at an arbitrary point I on the boundary, one robot moves counter-clockwise and the other robot moves clockwise, their movement is conform, they move along the boundary towards the point \(I^{\prime }\) and their search along the boundary is only interrupted if they get picked up or perform cuts, then the following statement holds: If the corresponding meeting point M of an exit E lies on the boundary, then \(\beta =\gamma =\pi -\frac{x+y}{2}\), where and .

Proof

We distinguish between the two cases: \(x+y<\pi \) and \(x+y\ge \pi \).

For the first case \(x+y<\pi \) see the left side of Fig. 4. Because \(\vert \overline{OE}\vert =1\) and \(\vert \overline{OM}\vert =1\), the triangle \(\triangle EOM\) is isosceles. Therefore the base angles \(\eta \) and \(\eta ^{\prime }\) are equal. With the statement, that the interior angles of a triangle add up to \(\pi \), we can express \(\eta =\eta ^{\prime }\) as \(\smash {\frac{\pi -\left( x+y\right) }{2}}\). Our next observation is that the direction vector of the tangent at E and the position vector of E are perpendicular (the same holds for the tangent at M and the position vector of M). This immediately yields \(\beta =\frac{\pi }{2}+\eta \). Using our expression for \(\eta \) we get \(\beta =\pi -\frac{x+y}{2}\). The same follows for \(\gamma \).

For the second case \(x+y\ge \pi \) see the right side of Fig. 4. We again have an isosceles triangle. Therefore the base angles \(\eta \) and \(\eta ^{\prime }\) are equal. Because of \(x+y\ge \pi \) we have to calculate the interior angle of the triangle \(\triangle EOM\) at O. We easily obtain the interior angle by \(2\pi -\left( x+y\right) \). Now analogous to the first case, with the equality of the base angles and the statement about the interior angles of a triangle, we can express \(\eta \) as \(\left( \pi -\left( 2\pi -\left( x+y\right) \right) \right) /2\). In this case the angle \(\beta \) can be obtained by \(\frac{\pi }{2}-\eta \). In conjunction with our expression for \(\eta \) we have \(\beta =\frac{\pi }{2}-\eta =\frac{\pi }{2}-\left( \pi -\left( 2\pi -\left( x+y\right) \right) \right) /2=\pi -\frac{x+y}{2}\). The same follows for \(\gamma \) with the equality of the base angles.

Fig. 4.
figure 4

Illustration of the cases \(x+y<\pi \) (left) and \(x+y\ge \pi \) (right) in the proof of Proposition 1.

We also make a straight-forward observation (about algorithms that follow the mentioned idea) that follows from monotonicity of the trajectories of both robots along the perimeter of the disk.

Observation 1

For any two exit positions E and \(E^{\sim }\) with the corresponding meeting points M and \(M^{\sim }\) lying on the boundary and with , we have .

3 Our Algorithm

In this section we present a class of parameterized algorithms with two cuts. The position of the first cut is specified by the parameter \(p_1\), the parameter \(\alpha _1\) specifies the angle of the first cut and \(d_1\) describes the depth of the first cut. Correspondingly, \(p_2\) refers to the position, \(\alpha _2\) refers to the angle and \(d_2\) refers to the depth of the second cut. The trajectories of the robots are described below. For an illustration, refer to Fig. 5.

figure a
Fig. 5.
figure 5

Illustration of Algorithm . Left: trajectories of the two robots for the exit located at \(I^{\prime }\). Right: magnification of the region surrounding \(I^{\prime }\).

4 Analysis

To achieve the stated bound on the evacuation time of 5.6234 we used local search to computationally determine the parameters \(p_1=2.62666582851\), \(\alpha _1=2\pi /9\), \(d_1=0.490011696287\), \(p_2=2.97374843355\), \(\alpha _2=0.05523991\pi \) and \(d_2=0.1670474016\) for our algorithm. In the following we rigorously prove that our algorithm indeed needs time at most 5.6234 to evacuate two robots from the unit disk, irrespective of the location of the exit. In order to improve readability, we refer to the above values of our parameters as \(p_1^{*}\), \(\alpha _1^{*}\), \(d_1^{*}\), \(p_2^{*}\), \(\alpha _2^{*}\) and \(d_2^{*}\).

Because the presented algorithm is symmetric, it is sufficient to analyze only one half of the disk. We assume that robot \(R_1\) finds the exit and robot \(R_2\) gets picked up. For the analysis of our algorithm we proceed along the same arguments as the authors in [5], but apply these to our approach with two cuts. First we partition the arc , into the following parts:

  • For all exits on this arc robot \(R_2\) is picked up before it leaves the boundary at point \(C_1^{\prime }\). In particular, if the exit is located at \(E_1\), the meeting of the robots will take place at \(C_1^{\prime }\).

  • For all exits on this arc, robot \(R_2\) is picked up while performing its first cut. In particular, if the exit is located at \(E_2\), robot \(R_2\) will be picked up at \(C_1^{\prime }\) after completing its first cut.

  • If the exit lies on this arc, robot \(R_1\) finds the exit before performing its first cut, but robot \(R_2\) is picked up after performing its first cut.

  • This part contains all exits for those robot \(R_2\) is picked up while performing its second cut. In particular, if the exit is located at \(E_4\), robot \(R_2\) will be picked up at \(C_2^{\prime }\) after completing its second cut. We exclude the point \(E_3\) from this (half-open) part.

  • If the exit lies on this arc, robot \(R_1\) finds the exit before performing its second cut, but robot \(R_2\) is picked up after performing its second cut.

  • This part contains all exits that robot \(R_1\) finds after performing its second cut. We exclude the point \(E_5\) from this (half-open) part.

We note that all points are well-defined for our parameter values. In particular, if the exit is found after the first cut, the meeting of the robots cannot take place before the other robot performs its second cut. We obtain (for our parameter values): , , , and .

We now analyze each of these parts in detail and determine possible worst-case candidates.

Lemma 1

If there is a (global) worst-case exit position on the arc , then it is at \(E_1\).

Proof

To prove the above statement, we will use Theorem 1 to exclude all interior points of the arc  as worst-case candidates.

Note that the movement of both robots is not differentiable at I and the movement of robot \(R_2\) is not differentiable at \(C_1^{\prime }\). Therefore we cannot use Theorem 1 to exclude I and \(E_1\) as worst-case candidates, as the corresponding meeting point for an exit at \(E_1\) is at \(C_1^{\prime }\).

Recall that, for all possible exits on the arc , robot \(R_2\) is picked up before it performs its first cut. In particular, for all these possible exits their corresponding meeting points lie on the boundary. Therefore Proposition 1 is applicable. Also note that we are in the case of conform movement.

With Proposition 1 we obtain \(\beta =\gamma \approx 1.51327\) for the exit at \(E_1\) and the corresponding meeting point at \(C_1^{\prime }\), assuming that robot \(R_2\) would continue its search on the boundary at point \(C_1^{\prime }\). This yields \(2\cos \left( 1.51327\right) +\cos \left( 1.51327\right) {< 1}\). Note that by Proposition 1 and Observation 1 the obtained value of approximately 1.51327 is a lower bound on \(\beta =\gamma \) for any exit on the interior of the arc and its corresponding meeting point. In conjunction with the monotonicity of the cosine function on the interval \(\left[ 0, \pi \right] \) the statement \(2\cos \left( \beta \right) +\cos \left( \gamma \right) < 1\) holds for any exit on the interior of the arc and its corresponding meeting point. Therefore we can use Theorem 1 to exclude any exit on the interior of the arc as possible worst-case candidate.

It remains to show that the exit at I is not a worst-case candidate. This is obvious since the evacuation time for this placement would only be 1 because the robots would find the exit together after initially moving to point I.

Before we start with the next arc, we recall a statement by the authors of [5], that also applies to the second cut. We decouple the exit and meeting point for a moment and let X be an exit for which robot \(R_2\) would be picked up while it is returning from the tip of a cut to the boundary. Now instead of the corresponding meeting point, we consider Y as the meeting point for the exit at X, where Y is on the corresponding cut. Let \(\beta ^{\prime }\) be the angle between the direction of movement of robot \(R_1\) at X and \(\overline{XY}\) and let \(\gamma ^{\prime }\) be the angle between \(\overline{XY}\) and the direction of movement of robot \(R_2\) while returning to the boundary along the corresponding cut. They state:

Lemma 2

If \(2\sin \left( \beta ^{\prime }\right) -\sin \left( \gamma ^{\prime }\right) >0\), then the value of \(2\cos \left( \beta ^{\prime }\right) +\cos \left( \gamma ^{\prime }\right) \) increases by moving Y by a small \(\epsilon \) along the corresponding cut towards the boundary (but not on to the boundary).

Proof sketch. To prove the statement we observe that moving Y in the aforementioned way decreases \(\beta ^{\prime }\) by the same amount by which \(\gamma ^{\prime }\) is increased. Because the cosine function is differentiable, if the \(\epsilon \) is small enough the mentioned decrease of \(\beta ^{\prime }\) gets arbitrarily close to a value that is proportional to the derivative of the function \(-\cos \left( \theta \right) \) at \(\beta ^{\prime }\). Similarly the increase in \(\gamma ^{\prime }\) gets arbitrarily close to a value that is proportional to the derivative of the function \(\cos \left( \theta \right) \) at \(\gamma ^{\prime }\). Therefore, if \(2\sin \left( \beta ^{\prime }\right) -\sin \left( \gamma ^{\prime }\right) >0\) the value of \(2\cos \left( \beta ^{\prime }\right) +\cos \left( \gamma ^{\prime }\right) \) increases by moving Y in the aforementioned way.

We now can start with the analysis of the second arc.Footnote 1

Lemma 3

If there is a (global) worst-case exit position on the arc , then it is at \(E_1\) or \(E_2\).

For the worst-case candidates on the third arc we get an analogous result. (see Footnote 1)

Lemma 4

If there is a (global) worst-case exit position on the arc , then it is at \(E_2\) or \(E_3\).

Before we start with the next arc, we recall that we explicitly specified that \(E_3\) does not belong to the arc. To still have a closed arc we add an artificial point \(E_3^{\sim }\), that coincides with \(E_3\). However, for an exit at \(E_3^{\sim }\) robot \(R_1\) finds the exit immediately after performing its first cut. Without the addition of the artificial point \(E_3^{\sim }\) our arc would be half open and there could be a sequence of points that converges towards \(E_3\) with increasing evacuation times but the exit with the largest evacuation time would not belong to the arc. In [5] the authors observe that the evacuation time for the artificial exit at \(E_3^{\sim }\) cannot be smaller than the evacuation time for the exit at \(E_3\). This applies, since otherwise robot \(R_1\) could improve the evacuation time for the exit at \(E_3\) by simulating the movement for the exit at \(E_3^{\sim }\).

Lemma 5

If there is a (global) worst-case exit position on the arc , then it is at \(E_3^{\sim }\) or \(E_4\).

Proof

To prove the statement, we further divide the arc into three parts. For this, we calculate the points \(Q_2\) and \(S_2\), where \(Q_2\) is the second intersection of the boundary and the line through \(C_2^{\prime }\) and \(P_2^{\prime }\). If the exit is placed at \(S_2\), robot \(R_2\) will be picked up at \(P_2^{\prime }\). We obtain: \(E_3^{\sim }=E_3\approx \left( -0.492471164; -0.870328761\right) \), \(E_4\approx \left( -0.16843;-0.98571\right) \), \(Q_2\approx \left( -0.492471152; -0.870328768\right) \) and also \(S_2\approx \left( -0.26963; -0.96296\right) \), \(C_2^{\prime }\approx \left( 0.16706; -0.98595\right) \) and \(P_2^{\prime }\approx \left( 0.00252; -0.95710\right) \). Note that \(Q_2\) has a smaller second coordinate than \(E_3^{\sim }\) and hence robot \(R_1\) reaches the point \(Q_2\) after \(E_3^{\sim }\).

Now we analyze the three arcs , and separately.

  • We first note that our parameters are chosen in such a way that the meeting point \(M_3^{\sim }\) for the exit at \(E_3^{\sim }\) is on the line segment \(\overline{C_2^{\prime }P_2^{\prime }}\). Once again we limit the respective \(\beta \) for any exit on the arc from above. To do this we decouple exit and meeting point. Instead of the \(\beta \) for the exit at \(E_3^{\sim }\) and the corresponding meeting point at \(M_3^{\sim }\), we calculate the angle \(\beta ^{\prime }\) for the exit at \(E_3^{\sim }\) and consider \(C_2^{\prime }\) as the meeting point. We obtain \(\beta ^{\prime } \approx 0.34139\). Note that because of the definition of \(Q_2\) the angle \(\beta ^{\prime }\) is greater than the respective \(\beta \) for the exit at \(E_3^{\sim }\) and the corresponding meeting point at \(M_3^{\sim }\). It remains to show that the angle \(\beta ^{\prime }\) is an upper bound for the respective angle \(\beta \) of any exit on the arc . Therefore let E be an exit on the arc and M be the corresponding meeting point on the line segment \(\overline{C_2^{\prime }P_2^{\prime }}\). If the line segment \(\overline{E_3^{\sim }C_2^{\prime }}\) is rotated around the origin so far that the point E is reached, denote the point on which \(C_2^{\prime }\) is rotated by Y. Observe in particular that the line segment \(\overline{C_2^{\prime }P_2^{\prime }}\) is not intersected during the rotation due to the definition of \(Q_2\). We further observe, that the angle between the tangent at point E and the line segment \(\overline{EY}\) is equal to the angle between the tangent at point \(E_3^{\sim }\) and the line segment \(\overline{E_3^{\sim }C_2^{\prime }}\) (this angle is \(\beta ^{\prime }\)). Because the line segment \(\overline{EY}\) is above the line segment \(\overline{EM}\), where M is the corresponding meeting point of the exit at E, the angle \(\beta \) for an exit at E is smaller than the angle \(\beta ^{\prime }\). Therefore, we can limit the respective \(\beta \) for any possible exit on by \(\beta ^{\prime }\approx 0.34139\). On the other hand, the angle \(\gamma \) at the corresponding meeting point for each possible exit of the arc can be limited from above by the angle \(\angle E_3^{\sim }P_2^{\prime }Q_2\approx 0.00000001\). Therefore with the monotonicity of the cosine function, the following statement \(2\cos \left( \beta \right) +\cos \left( \gamma \right)>2\cos \left( 0.34139\right) +\cos \left( 0.00000001\right)>1.88458+0.99999999>1\) holds for each possible exit on the arc and the corresponding meeting point. With Theorem 1 we can exclude all exits but \(E_3^{\sim }\) (because the movement of robot \(R_1\) is not differentiable at \(E_3^{\sim }\)) on the arc  as worst-case candidates.

  • We first note that in this case the movement of the robots is converse (because of the definition of \(Q_2\)) and the movement of robot \(R_2\) is not differentiable around \(P_2^{\prime }\) and therefore we cannot exclude the exit at \(S_2\) as the worst-case candidate with Theorem 1. With a similar reasoning as in the first case we can limit respective \(\beta \) of all other points on the arc from above by the \(\beta \) for an exit placed at \(Q_2\) and its corresponding meeting point. This statement holds because if we rotate the line segment \(\overline{Q_2C_2^{\prime }}\) around the origin until we reach a point E on the arc  and denote the point on which \(C_2^{\prime }\) is rotated on by Y, we observe the following: the line segment \(\overline{EY}\) is above the line segment \(\overline{EM}\), where M is the corresponding meeting point of an exit at E. The one thing left to argue is that while we rotated the line segment \(\overline{Q_2C_2^{\prime }}\) we did not intersect the line segment \(\overline{C_2^{\prime }P_2^{\prime }}\). This is because the intersection of the line segment \(\overline{Q_2C_2^{\prime }}\) and the perpendicular line that contains the origin O is above the point \(P_2^{\prime }\). Therefore we can limit the respective \(\beta \) by approximately 0.34138552, which is the obtained value of the angle for an exit placed at \(Q_2\). On the other, hand it is easy to verify that the angle \(\gamma \) at the corresponding meeting point for each possible exit on the arc (but \(S_2\), because the movement of robot \(R_2\) is not differentiable at \(S_2\)) can be limited from above by the angle \(\angle Q_2P_2^{\prime }S_2 \approx 0.195072\). Combining these two observations and with the monotonicity of the cosine function on the interval \(\left[ 0, \pi \right] \) we can state that for any possible exit (but \(S_2\)) on the arc the term \(2\cos \left( \beta \right) +\cos \left( \gamma \right) \) is greater than \(2\cos \left( 0.34138552\right) +\cos \left( 0.195072\right)>1.884583+0.98103>1\). Therefore with Theorem 1 we can exclude all possible exits (but \(S_2\)) on the arc as possible worst-case candidates.

  • Here we want to show that \(2\cos \left( \beta \right) +\cos \left( \gamma \right) <1\) holds for all possible exits on the interior of the arc . We first observe that the movement of robot \(R_2\) is not differentiable at point \(C_2^{\prime }\), which is the corresponding meeting point for \(E_4\) and that the movement of the robots is conform. To prove the statement we decouple the exit and the meeting point and use Lemma 2: Let X be an arbitrary point on the arc and Y be an arbitrary point on the line segment \(\overline{P_2^{\prime }C_2^{\prime }}\). First we will show that \(2\sin \left( \beta ^{\prime }\right) -\sin \left( \gamma ^{\prime }\right) >0\) holds for all possible combinations of X and Y. To do so we verify the combination of X and Y that minimizes \(2\sin \left( \beta ^{\prime }\right) \) and the combination that maximizes \(\sin \left( \gamma ^{\prime }\right) \) separately. It is easy to understand that \(2\sin \left( \beta ^{\prime }\right) \) is minimized for \(X=E_4\) and \(Y=C_2^{\prime }\) (note that we allow Y to be on the boundary as it is a lower bound for \(2\sin \left( \beta ^{\prime }\right) \)) and \(\sin \left( \gamma ^{\prime }\right) \) is maximized for \(X=E_4\) and \(Y=P_2^{\prime }\). Calculating the respective angles we have: \(2\sin \left( \beta ^{\prime }\right) -\sin \left( \gamma ^{\prime }\right)> 0.33549 -- 0.33289> 0\). Therefore, we can use Lemma 2 and it is enough to show that for every X on the arc and \(Y=C_2^{\prime }\) the statement \(2\cos \left( \beta ^{\prime }\right) +\cos \left( \gamma ^{\prime }\right) {<1}\) holds. This is because Lemma 2 says that moving Y closer to \(C_2^{\prime }\) only increases the value of \(2\cos \left( \beta ^{\prime }\right) +\cos \left( \gamma ^{\prime }\right) \). Therefore, we need to verify the combinations X and \(Y=C_2^{\prime }\) that maximize \(2\cos \left( \beta ^{\prime }\right) \) and \(\cos \left( \gamma ^{\prime }\right) \). We once again do this separately to obtain an upper bound. It is straight forward to verify that for \(X=E_4\) the respective expressions are maximized. We calculate the respective angles (under the assumption that robot \(R_2\) would continue his movement at \(C_2^{\prime }\) as he did while returning from the tip of its cut) and obtain \(2\cos \left( \beta ^{\prime }\right) +\cos \left( \gamma ^{\prime }\right)< 1.971661-0.985099 < 1\). Therefore we can use Theorem 1 to exclude all exits on the interior of the arc as possible worst-case candidates. It remains to show that \(S_2\) is not a worst-case candidate either. We do this by comparing the evacuation times for an exit at \(S_2\) and \(E_4\). Recall that the corresponding meeting point for an exit at \(S_2\) is at \(P_2^{\prime }\). For an exit at \(S_2\) we obtain an evacuation time of approximately 5.39304 and for an exit at \(E_4\) we obtain an evacuation time of approximately 5.62335779. Comparing these evacuation times we see that \(S_2\) is not a worst-case candidate.

Altogether we have shown that for all possible exits (but \(E_3^{\sim }\) and \(E_4\)) on the arc either \(2\cos \left( \beta \right) +\cos \left( \gamma \right) >1\) or \(2\cos \left( \beta \right) +\cos \left( \gamma \right) <1\) holds. With Theorem 1 we excluded all possible exits (but \(E_3^{\sim }\) and \(E_4\)) on the arc as worst-case candidates.

We continue with the analysis of the fifth segment.

Lemma 6

If there is a (global) worst-case exit position on the arc , then it is at \(E_4\) or \(E_5\).

Proof

We first note that the movement of robot \(R_2\) is not differentiable at the corresponding meeting point \(C_2^{\prime }\) of an exit placed at \(E_4\). Furthermore, the movement of robot \(R_1\) is not differentiable at \(E_5\). Therefore we cannot use Theorem 1 to exclude \(E_4\) and \(E_5\) as worst-case candidates.

Recall that for all possible exits on the arc robot \(R_2\) is picked up after performing its second cut and robot \(R_1\) finds the exit before performing its second cut (but after continuing its search on the boundary after completing its first cut). In particular, for all these possible exits their corresponding meeting points lie on the boundary. Therefore Proposition 1 is applicable. Also note that we are in the case of conform movement.

With Proposition 1 and Observation 1 we can obtain an upper bound for the angles \(\beta =\gamma \) of any exit on the interior of the arc and its corresponding meeting point. We do so by calculating the value of \(\beta =\gamma \) for the exit placed at \(E_4\) and its corresponding meeting point \(C_2^{\prime }\) (assuming that robot \(R_2\) would continue its search on the boundary at point \(C_2^{\prime }\)). For this exit and meeting point we obtain \(\beta =\gamma \approx 0.16855\). With the monotonicity of the cosine function on the interval \(\left[ 0, \pi \right] \) the statement \(2\cos \left( \beta \right) +\cos \left( \gamma \right)>2\cos \left( 0.16855\right) +\cos \left( 0.16855\right)> 2.95748>1\) holds for any exit on the interior of the arc and its corresponding meeting point.

Therefore we can use Theorem 1 to exclude any exit on the interior of the arc as a possible worst-case candidate.

Analogous to our preparation of Lemma 5 we again recall that we explicitly specified that \(E_5\) does not belong to the final arc. To still have a closed arc we add an artificial point \(E_5^{\sim }\), that coincides with \(E_5\). For an exit at \(E_5^{\sim }\) robot \(R_1\) finds the exit immediately after performing its second cut. Again the evacuation time for the artificial exit at \(E_5^{\sim }\) cannot be smaller than the evacuation time for the exit at \(E_5\). This applies, since otherwise robot \(R_1\) could improve the evacuation time for the exit at \(E_5\) by simulating the movement for the exit at \(E_5^{\sim }\). (see Footnote 1)

Lemma 7

If there is a (global) worst-case exit position on the arc , then it is at \(E_5^{\sim }\).

We summarize the statements of the Lemmas 1 through 7 as follows.

Theorem 2

For Algorithm the worst-case exit position is at \(E_1\), \(E_2\), \(E_3^{\sim }\), \(E_4\) or \(E_5^{\sim }\).

To determine the evacuation time for our algorithm, we simply take the maximum of the evacuation times for these candidates. This leads to our stated upper bound and main result.

Theorem 3

Algorithm needs time at most 5.6234 to evacuate two robots via an unknown exit on the boundary of the closed unit disk.

Proof

For exit \(E_1\) we have and for the corresponding meeting point \(M_1\) we have , which results in an evacuation time of less than 5.62335779. For the second worst-case candidate \(E_2\) we have and for the corresponding meeting point \(M_2\) we have , which results in an evacuation time of less than 5.62335779. For exit \(E_3^{\sim }\) we have and for the corresponding meeting point \(M_3^{\sim }\) we have \(\vert \overline{C_2^{\prime }M_3^{\sim }}\vert \approx 0.161251676967\), which results in an evacuation time of less than 5.62335779. For the fourth worst-case candidate \(E_4\) we have and for the corresponding meeting point \(M_4\) we have , which results in an evacuation time of less than 5.62335779. For exit \(E_5^{\sim }\) we have and for the corresponding meeting point \(M_5^{\sim }\) we have , which results in an evacuation time of less than 5.62335778. The maximum of these evacuation times is limited from above by 5.6234 and we have proved our stated upper bound on the problem of the two robot evacuation from the closed disk with face-to-face communication.