1 INTRODUCTION

We study the problem of constructing a route such that an object moving at a constant speed along this route would be exposed to the lowest total dose of radiation from several emitters. The problem is considered on the plane and in the space \(\mathbb{R}^{3}\). The route must connect fixed start and end points and not go beyond a given corridor \(Y\). The boundary \(\partial Y\) of the corridor is a closed continuous line in \(\mathbb{R}^{2}\) or a closed continuous surface in \(\mathbb{R}^{3}\); more exactly, we analyze the case where the boundary \(\partial Y\) is homeomorphic to a sphere. The emitters are located outside the corridor and are directional; i.e., each of them radiates into its own convex cone (radiation cone) with a vertex at the point where the emitter is located. We consider emitters whose radiation cones completely cover the corridor \(Y\). We assume that the emitters are “single-type” in the sense that they have the same dependence of the decrease in radiation intensity on the distance to the emitter. Our study is limited to the case where the multiplicity of covering the corridor \(Y\) by the radiation cones of the emitters is at most 2.

The results of this paper can be used, for example, for planning optimal paths of autonomous mobile robots in an environment with obstacles [1].

An object \(t\) moves at a constant speed in the corridor \(Y\subset\mathbb{R}^{N}\) (\(N=2,3\)) from an initial point \(t_{*}\) to a final point \(t^{*}\ (t_{*},t^{*}\in\partial Y\), \(t_{*}\neq t^{*})\), and \(\mathbb{T}\) is the family of trajectories

$${\mathcal{T}}=\big{\{}t(\tau)\colon 0\leq\tau\leq 1,\ t(0)=t_{*},\ t(1)=t^{*} \big{\}}\subset Y.$$

The boundary \(\partial Y\) of the corridor \(Y\) is homeomorphic to a sphere. Fixed emitting sources \(s_{i}\) (\(i=1,\mathinner{\ldotp\ldotp\ldotp},n\)) are located outside the corridor. Radiation is emitted along rays \(l\) from a given fixed convex open cone \(K_{i}=K(s_{i})=\{l\}\) with vertex \(s_{i}\) such that \(t_{*}\not\in K_{i}\), \(t^{*}\not\in K_{i}\). Each cone \(K(s_{i})\) satisfies the condition

$$K(s_{i})\cap{\mathcal{T}}\neq\varnothing\quad\forall\ {\mathcal{T}}\in\mathbb{ T}.$$

By \(K_{Y}(s_{i})\), we denote the connected subset of \(K(s_{i})\cap Y\) nearest to \(s_{i}\) and satisfying the above condition.

Two options are possible: radiation is either transmitted or not transmitted through the boundary \(\partial Y\) of the corridor. For definiteness, we assume first that the boundary of the corridor prevents the propagation of radiation. In this case, we denote by \(K_{V}(s)\) the set of points of the set \(K_{Y}(s)\) that are irradiated (visible) from the source \(s\). The radiation intensity of each source \(s=s_{i}\) is the same along all rays from \(K(s_{i})\) and is characterized by a positive decreasing function \({\widetilde{F}}_{i}(y)\) of the real variable \(y>0\). Define

$$F_{i}(x)=\left\{\begin{array}[]{cl}{\widetilde{F}}_{i}(\|s_{i}-x\|)&\mbox{for} \ \ x\in l\in K(s_{i}),\\ 0&\mbox{for}\ \ x\not\in K(s_{i}).\end{array}\right.$$

Let

$$J({\mathcal{T}})=\sum_{i=1}^{n}\intop\limits_{0}^{1}F_{i}(t(\tau))\,d\tau$$

be the total radiation received by the object when it moves along the trajectory \({\mathcal{T}}\), where \(n\) is the number of emitters.

In this paper, we consider the problem of constructing a trajectory \(\widehat{{\mathcal{T}}}\) that provides the infimum

$$J=\inf\{J({\mathcal{T}})\colon{\mathcal{T}}\in\mathbb{T}\}.$$
(1)

It is assumed that the multiplicity of covering the corridor \(Y\) by the cones \(K(s_{i})\) is at most two. This is a problem in the calculus of variations with nonsmooth constraints (if the boundary \(\partial Y\) is not smooth) complicated by the presence of several radiation sources. Obviously, it is possible to formulate problem (1) as an optimal control problem of the motion of the object under state constraints [2]. We propose geometric methods for finding an optimal or close to optimal trajectory depending on the mutual arrangement of the cones \(K(s_{i})\). The problem of the motion of an object in a radioactive medium was considered in another formulation in [3, 4].

It is natural to assume that the function \({\widetilde{F}}\) not only decreases but also has the following property:

$$\intop\limits_{C_{\rho}}F(x)\ dx>\intop\limits_{C_{\lambda\rho}}F(x)\,dx\quad \ \forall\ \lambda>1$$
(2)

for any \(\rho>0\), where \(C_{\rho}=\{x\in K(s)\colon\|s-x\|=\rho\}\). This property, in particular, is possessed by a function satisfying the condition

$${\widetilde{F}}(\rho)>\lambda{\widetilde{F}}(\lambda\rho)\ \ \mbox{for}\ \ \rho>0,\ \lambda>1.$$
(3)

Indeed,

$$\intop\limits_{C_{\rho}}F(x)\,dx={\widetilde{F}}(\rho)|C_{\rho}|>\lambda{ \widetilde{F}}(\lambda\rho)|C_{\rho}|={\widetilde{F}}(\lambda\rho)|C_{\lambda \rho}|=\intop\limits_{C_{\lambda\rho}}F(x)\,dx,$$

where \(|C_{\rho}|\) is the area (arc length) of \(C_{\rho}\).

In the case of \(\mathbb{R}^{2}\), we observe the following relations for the function \({\widetilde{F}}\) satisfying condition (3):

\(\scriptstyle\bullet\)  let \([a,b]\) and \([\lambda a,\lambda b]\ (\lambda>1)\) be segments lying on a ray \(l\in K(s)\) with vertex \(s=0\); then

$$\intop\limits_{a}^{b}F(x)\,dx>\intop\limits_{a}^{b}\lambda F(\lambda x)\,dx= \intop\limits_{a}^{b}F(\lambda x)\,d\lambda x=\intop\limits_{\lambda a}^{ \lambda b}F(x)\,dx;$$

\(\scriptstyle\bullet\)  suppose that \(\Phi\) is the opening of the cone \(K=K(s)\), \(\Phi<\pi\), \(s=0\) is the origin of a polar coordinate system, \({\mathcal{T}}\in\mathbb{T}\), the part of this trajectory \({\mathcal{T}}_{K}={\mathcal{T}}\cap K_{Y}\) is given by the function \(\rho=\rho(\varphi)\), and \(\lambda{\mathcal{T}}_{K}\subset K_{Y}\) for \(\lambda>1\). Then

$$\intop\limits_{0}^{\Phi}{\widetilde{F}}(\rho(\varphi))\,d\varphi>\intop\limits _{0}^{\Phi}\lambda{\widetilde{F}}(\lambda\rho(\varphi))\,d\varphi>\intop \limits_{0}^{\Phi}{\widetilde{F}}(\lambda\rho(\varphi))\,d\varphi.$$
(4)

Thus, \(\displaystyle\intop\nolimits_{0}^{\Phi}{\widetilde{F}}(\lambda\rho(\varphi))\,d\varphi\) as a function of \(\lambda\) also monotonically decreases with the growth of \(\lambda\).

An example of a function satisfying condition (3) is the function

$${\widetilde{F}}(\rho)=\rho^{-\alpha}\ \ \mbox{for}\ \ \alpha\geq 1.$$

2 THE CASE OF A SINGLE RADIATION SOURCE \(s\) IN \(\mathbb{R}^{2}\)

Consider the case of a single radiation source \(s\) on the plane. Then

$$J({\mathcal{T}})=\intop\limits_{0}^{1}{F(t(\tau))}\,d\tau.$$

Since \(t_{*},t^{*}\in\partial Y\), the boundary \(\partial Y\) is decomposed by the points \(t_{*}\) and \(t^{*}\) into two parts. Let \(\Gamma\) be the part of the boundary of \(Y\) opposite to \(s\). Using the curve \(\Gamma\), we define the function \(\rho=\rho_{\Gamma}(\varphi)\), \(0\leq\varphi\leq\Phi\), in a polar coordinate system with the origin \(s\) so that the value \(\rho_{\Gamma}(\varphi)\) is the distance from \(s\) to \(\Gamma\) along the ray \(l_{\varphi}\subset K(s)\) outgoing from \(s\) at the angle \(\varphi\). The function \(\rho_{\Gamma}(\varphi)\) may have discontinuity points. Let us supplement the graph of the function \(\rho_{\Gamma}(\varphi)\) at each discontinuity point \(\varphi\) with the segment \([\rho_{\varphi}^{\prime},\rho_{\varphi}^{\prime\prime}]\) (\(\rho_{\varphi}^{\prime}<\rho_{\varphi}^{\prime\prime}\)) of the ray \(l_{\varphi}\) so that we get a continuous curve, which is denoted by \(\mbox{gr}\,\rho(\cdot)\) (see Fig. 1). Note that, when the object moves along the half-open interval \((\rho_{\varphi}^{\prime},\rho_{\varphi}^{\prime\prime}]\subset l_{\varphi}\), it is not irradiated, since the point \((\rho_{\varphi}^{\prime},\varphi)\) belongs to the boundary \(\Gamma\). At first glance, it might be expected that \(\mbox{gr}\,\rho(\cdot)\) would be an optimal trajectory. The following examples show that the curve \(\mbox{gr}\,\rho(\cdot)\) is not always optimal.

Example 1

Let \(\Gamma\) be the graph of the function \(\rho=\rho(\varphi)=1+\varepsilon\sin k\varphi\ (\varepsilon<1/2)\) (see Fig. 2). Then, for sufficiently large \(k\), the function \(\rho\) has a large variation \(\bigvee_{0}^{\Phi}\!\rho\,\) and, hence, a large value of \(J(\mbox{gr}\,\rho(\cdot))\). In this case, the trajectory coinciding on \(K(s)\) with an arc of the circle of radius \(1-\varepsilon\) centered at \(s\) is more preferable.

Fig. 1
figure 1

Discontinuity of the function \(\rho_{\Gamma}(\varphi))\)

Fig. 2
figure 2

Illustration of Example 1

Example 2

For \(\rho_{1}<\rho_{2}\) and angles \(\varphi_{1}\) and \(\varphi_{2}\), \(0\leq\varphi_{1}<\varphi_{2}\leq\Phi<\pi\), we define a curve \(\Gamma\) consisting of the two arcs \((\rho_{1},\varphi)\), \(0\leq\varphi\leq\varphi_{1}\), and \((\rho_{1},\varphi)\), \(\varphi_{2}\leq\varphi\leq\Phi\), and of the two segments connecting the point \((\rho_{2},(\varphi_{1}+\varphi_{2})/2)\) with the points \((\rho_{1},\varphi_{1})\) and \((\rho_{1},\varphi_{2})\). When \(\rho_{2}-\rho_{1}\) is large, the arc of the circle \(C_{\rho_{1}}\) is more preferable as a trajectory in comparison with \(\Gamma\).

These examples 1, 2 and the monotonicity property of the function \({\widetilde{F}}\) show that the optimal trajectory must lie as far as possible from \(s\) and have a small length in small areas.

The original problem is the problem of the calculus of variations and consists in finding a continuous function \(\rho(\varphi)\):

$$\inf_{\rho(\varphi)}\bigg{\{}\intop\limits_{0}^{\Phi}{\widetilde{F}}(\rho( \varphi))\,d\varphi\colon\rho(\varphi)\leq\rho_{\Gamma}(\varphi)\bigg{\}}.$$
(5)

The difficulty of this problem is specified by the properties of the function \(\rho_{\Gamma}(\varphi)\).

Suppose that the function \(\rho_{\Gamma}(\varphi)\) is piecewise monotone. Let \(x=(\overline{\rho},\overline{\varphi})\) be a local maximum point of the function \(\rho_{\Gamma}(\varphi)\) (see Fig. 3); possibly, it belongs to an interval consisting of maximum points; i.e., there exist \(\varphi^{\prime}\leq\varphi^{\prime\prime}\) such that

$$\rho_{\Gamma}(\overline{\varphi})\geq\rho_{\Gamma}(\varphi)\ \ \mbox{for}\ \ \varphi^{\prime}\leq\varphi\leq\varphi^{\prime\prime}\ \ \ \ \mbox{and}\ \ \ \ \rho_{\Gamma}(\overline{\varphi})>\min\{\rho(\varphi^{\prime}),\rho(\varphi^ {\prime\prime})\}.$$
Fig. 3
figure 3

Neighborhood of a local maximum of the function \(\rho_{\Gamma}(\varphi))\)

Fig. 4
figure 4

Example of a trajectory close to optimal

For \(\rho<\overline{\rho}\) close to \(\overline{\rho}\), we denote by \(a=a(\rho)=a(\rho,\varphi_{\rho})\)and \(b=b(\rho)=b(\rho,\varphi^{\rho})\) with \(\varphi_{\rho}<\varphi^{\rho}\) the points of \(C_{\rho}\cap\mbox{gr}\,\rho(\cdot)\) nearest to \(l_{\overline{\varphi}}\) and by \(\rho^{*}=\rho_{x}^{*}\) the largest of the numbers \(\rho\) for which one of the points \(a\) or \(b\) is a one-sided local minimum of the function \(\rho_{\Gamma}(\varphi)\) over the cone \(K\). Define

$$\Delta=\Delta_{x}=[\varphi_{\rho^{*}},\varphi^{\rho^{*}}].$$

If the maximum point \(x\) is not a point of strict local maximum, then this interval \(\Delta\) can also be generated by other points \(y\) for which \(\Delta=\Delta_{y}\). Let \(C_{\rho}^{ab}\) be the arc of the circle \(C_{\rho}\) between the points \(a\) and \(b\) intersecting the segment \([s,x]\), and let \(G_{\rho}^{ab}\) be the part of the graph \(\mbox{gr}\,\rho(\cdot)\) between the points \(a\) and \(b\) containing \(x\).

It is required to solve the following problem of finding a continuous function \(\gamma=\gamma(\varphi)\) on \(\Delta\) that provides the minimum

$$J_{\Delta_{x}}=\min_{\gamma}\bigg{\{}\intop\limits_{\Delta}{\widetilde{F}}( \gamma(\varphi))\,d\varphi\colon\gamma(\varphi)\leq\rho_{\Gamma}(\varphi)\ \mbox{for}\ \varphi\in\Delta,\ \gamma(\varphi_{\rho^{*}})=\gamma(\varphi^{\rho ^{*}})=\rho^{*}\bigg{\}}.$$
(6)

It is clear that the graph of the function \(\widehat{\gamma}=\widehat{\gamma}(\varphi)\), which is a solution of problem (6), lies between the curves \(C_{\rho^{*}}^{ab}\) and \(G_{\rho^{*}}^{ab}\). Note that the function \(\widehat{\gamma}\)is downward convex on those intervals \([\varphi_{1},\varphi_{2}]\subset\Delta\), \(\varphi_{1}<\varphi_{2}\), where \(\widehat{\gamma}(\varphi)<\rho_{\Gamma}(\varphi)\). Indeed, if this is not so, then there exist angles \(\varphi^{\prime}\) and \(\varphi^{\prime\prime}\)\(\varphi_{1}\leq\varphi^{\prime}<\varphi^{\prime\prime}<\varphi_{2}\), such that the graph of the function \(\widehat{\gamma}(\varphi)\), \(\varphi^{\prime}<\varphi<\varphi^{\prime\prime}\), lies between \(s\) and the straight line segment connecting the points \((\widehat{\gamma}(\varphi^{\prime}),\varphi^{\prime})\) and \((\widehat{\gamma}(\varphi^{\prime\prime}),\varphi^{\prime\prime})\). By reflecting the graph with respect to this segment and using property (2), one can easily construct a trajectory with a lower irradiation rate in comparison with \((\widehat{\gamma}(\varphi),\varphi)\).

For each local maximum point \(x\) (specifically, for each interval consisting of local maximum points), we solve problem (6) on \(\Delta_{x}\).

Theorem

Let the function \(\rho_{\Gamma}(\varphi)\) be piecewise monotone. An extremal trajectory of problem 5 is given by a function \(\widehat{\rho}(\varphi)=\widehat{\rho}(\varphi,s)\ (0\leq\varphi\leq\Phi)\) that coincides with the function \(\widehat{\gamma}(\varphi)\ (\varphi\in\Delta)\) on each interval \(\Delta=\Delta_{x}\) and with \(\rho_{\Gamma}(\varphi)\) on the set \(\Phi\backslash\textstyle\bigcup_{x}\Delta_{x}\).

Proof

To prove the theorem, it suffices to observe that, due to the monotonicity of the functions \(F\), the extremal trajectory coincides with \(\rho_{\Gamma}(\varphi)\) on the set \(\Phi\backslash\textstyle\bigcup_{x}\Delta_{x}\), whereas outside this set it is constructed optimally and coincides with \(\widehat{\gamma}(\varphi)\).   \(\square\)

Thus, the original problem (5) reduces to a series of extremal problems of form (6).

For a number \(\rho\), \(\rho^{*}\leq\rho\leq\overline{\rho}\), we define the function

$$\delta_{\rho}(\varphi)=\min\{\rho_{\Gamma}(\varphi),\rho\}\ \ \ \mbox{for}\ \ \varphi\in\Delta_{x}.$$

It is of interest to consider the simpler (in comparison with (6)) problem of finding the minimum on a narrower class of functions:

$${\overline{J}}_{\Delta}=\min_{\rho^{*}\leq\rho\leq\overline{\rho}}\intop \limits_{\Delta}{\widetilde{F}}(\delta_{\rho}(\varphi))\,d\varphi;$$
(7)

the solution of this problem approximates the function \(\widehat{\gamma}(\cdot)\).

Let us mention one more method of constructing a trajectory \({\mathcal{T}}\)close to optimal. We divide the cone \(K(s)\) into partial cones \(K_{i}\) bounded by rays \(l_{j}\) and \(l_{j+1}\), where \(l_{j}=l_{\varphi_{j}}\ (0=\varphi_{0}<\varphi_{1}<\cdots<\varphi_{m}=\Phi)\)  and \(\Delta_{j}=\Delta_{j}\varphi=[\varphi_{j},\varphi_{j+1})\). In the simplest case, the partition is either uniform or is determined by the properties of \(\Gamma\). We construct the trajectory \({\mathcal{T}}\) based on the function \(t(\varphi)\), which is constant on some partial intervals \(\Delta_{j}\) with a large variation of the function \(\rho_{\Gamma}(\varphi)\). Without violating the constraint \(\rho(\varphi)\leq\rho_{\Gamma}(\varphi)\), due to the mentioned (see (4)) property of monotonicity of the quantity \(\displaystyle\intop{\widetilde{F}}(\lambda\rho(\varphi))\,d\varphi\) with respect to \(\lambda\), it is natural to take a piecewise constant function on these intervals:

$$t(\varphi)=\rho_{j}=\min\{\rho_{\Gamma}(\alpha)\colon\alpha\in\Delta_{j} \varphi\}\ \ \ \mbox{for}\ \ \varphi\in\Delta_{j}\varphi.$$

The trajectory \({\mathcal{T}}\subset Y\) of the object on the chosen intervals is constructed by completing the graph of the function \(t(\varphi)\) at each discontinuity point \(\varphi_{j}\) with the segment \([a_{j},b_{j}]\) of the ray \(l_{j}\), where \(a_{j}=(\rho_{j},\varphi_{j})\) and \(b_{j}=(\rho_{j-1},\varphi_{j})\). On the remaining partial intervals, the trajectory coincides with \(\rho_{\Gamma}(\varphi)\) (Fig. 4).

3 THE CASE OF TWO SOURCES IN \(\mathbb{R}^{2}\)

The points \(t_{*}\) and \(t^{*}\) split the boundary \(\partial Y\) into two parts \(\Gamma_{1}\) and \(\Gamma_{2}\). In what follows, we assume that \(s_{i}\in\Gamma_{i}\ (i=1,2)\); i.e., the sources are located on opposite parts of the boundary \(\partial Y\). Let

$$F_{1}=F_{2}{\buildrel def\over{=}F},\quad\ [s_{1},s_{2}]\cap\big{(}(\stackrel{ {\scriptstyle\circ}}{{K}}_{Y}\!(s_{1})~{}\cup\stackrel{{\scriptstyle\circ}}{{K }}_{Y}\!(s_{2})\big{)}=\varnothing$$

(see Fig. 5). Define \(K_{Y}(s_{1})\cap K_{Y}(s_{2})={\mathcal{D}}\). By \(l_{i}\) and \(l_{i}^{\prime}\), we denote the “left” and “right” rays bounding the cone \(K(s_{i})\), \(i=1,2\). We consider possible options for the location of the sources \(s_{1}\) and \(s_{2}\) and methods of constructing optimal trajectories. Let \(L\) be a straight line orthogonal to the segment \([s_{1},s_{2}]\) containing the point \((s_{1}+s_{2})/2\).

If \({\mathcal{D}}\cap L=\varnothing\) and the sets \({\mathcal{D}}\) and \(K_{Y}(s_{1})\cap\Gamma_{1}\), for example, lie on the same side from \(L\), then, as one can see, the optimal trajectory is \({\mathcal{T}}_{2,1\,}\), which traverses the cone \(K_{Y}(s_{2})\) along the segment \(A_{2}=l_{1}\,\cap\,K_{V}(s_{2})\) and the cone \(K_{Y}(s_{1})\) along the graph of the function \(\rho_{\Gamma_{2}}\colon~{}G_{1}\buildrel def\over{=}(\mbox{gr}\,\rho_{2}(\cdot ))\cap K_{Y}(s_{1})\) (in Fig. 6), these portions of the trajectory are marked with the bold dashed line).

Fig. 5
figure 5

The case of two sources at opposite parts of the boundary

We now assume that \(\stackrel{{\scriptstyle\circ}}{{{\mathcal{D}}}}\cap\,L\neq\varnothing\).

Among the trajectories not intersecting the set \(\stackrel{{\scriptstyle\circ}}{{{\mathcal{D}}}}\), there are two candidates for optimal ones; these are \({\mathcal{T}}_{1,2}\) and \({\mathcal{T}}_{2,1}\), which intersect the cones \(K_{Y}(s_{i})\) alternately. The latter trajectory is defined above, and the trajectory \({\mathcal{T}}_{1,2}\) intersects \(K_{Y}(s_{1})\) along the segment \(A_{1}=l_{2}\cap K_{Y}(s_{1})\) and the cone \(K_{Y}(s_{2})\) along the graph of the function \(\rho_{\Gamma_{1}}\colon~{}G_{2}\buildrel def\over{=}(\mbox{gr}\,\rho(\cdot)) \cap K_{Y}(s_{2})\) (Fig. 7). These trajectories correspond to the irradiation values

$$J_{1,2}=\intop\limits_{A_{1}}F(s_{1}-x)\,dx+\intop\limits_{G_{2}}F(s_{2}-x)\, dx,\quad J_{2,1}=\intop\limits_{A_{2}}F(s_{2}-x)\,dx+\intop\limits_{G_{1}}F(s_ {1}-x)\,dx.$$
Fig. 6
figure 6

The case \({\mathcal{D}}\cap L=\varnothing\)

Fig. 7
figure 7

The case \(\stackrel{{\scriptstyle\circ}}{{{\mathcal{D}}}}\cap L\neq\varnothing)\)

Let us consider trajectories intersecting the set \(\stackrel{{\scriptstyle\circ}}{{{\mathcal{D}}}}\). All of them contain the segment \([a,a^{\prime}]=L\,\cap\,{\mathcal{D}}\) designated with regard to the direction of motion from \(t_{*}\) to \(t^{*}\). Indeed, differentiating the function \(F(s_{1}-x-\alpha(s_{1}-s_{2}))+F(s_{2}-x-\alpha(s_{1}-s_{2}))\) with respect to \(\alpha\), we see that the minimum over \(\alpha\) of this function is attained at \(\alpha=0\) for all \(x\in[a,a^{\prime}]\). The search for an optimal trajectory outside the set \({\mathcal{D}}\) can be implemented by solving the following problem.

Suppose that \(l\) is a ray from \(K(s)\), \(\eta\) is a segment from \(l\)\(c\) is a point from \(K_{Y}(s)\backslash l\)\(\mathbb{T}(x,c)\) is the set of trajectories of the form

$${\mathcal{T}}_{x}=\{t(\tau)\colon 0\leq\tau\leq 1,\ t(0)=x,\ t(1)=c\}\subset K _{Y}(s),$$

for \(x\in\eta\). It is required to find the value

$$J(\eta,c)=\inf_{x\in\eta}\inf\bigg{\{}\intop\limits_{0}^{1}F_{s}(t(\tau))\,d \tau\colon{\mathcal{T}}\in\mathbb{T}(x,c)\bigg{\}}.$$
(8)

Define \([q,q^{\prime}]=L\cap(K_{Y}(s_{1})\,\cup\,K_{Y}(s_{2}))\), \(b=l_{1}\,\cap\,l_{2}\), \(q_{1,2}^{\prime}=l_{1}^{\prime}\,\cap\,\Gamma_{2}\), and \(q_{2,1}^{\prime}=l_{2}^{\prime}\,\cap\,\Gamma_{1}\). It is easily seen that, to approach optimally the point \(a\) from the point \(t_{*}\), the object must intersect the segment \([q,b]\) using the solution of the problem \(J([q,b],a)\), and, to escape from the point \(a^{\prime}\) towards the point \(t^{*}\), it must intersect the segment \([q^{\prime},q_{1,2}^{\prime}]\) if \(q^{\prime}\in l_{1}^{\prime}\) (Fig. 8a) and the interval \([q^{\prime},q_{2,1}^{\prime}]\) if \(q^{\prime}\in l_{2}^{\prime}\) (Fig. 8b).

Fig. 8
figure 8

(a) The case \(q^{\prime}\in l_{1}^{\prime}\). (b) The case \(q^{\prime}\in l_{2}^{\prime}\)

Lemma

Suppose that \(s=0,\) the points \(v\) and \(w\) belong to \(K_{Y}(s),\)\(w\not\in l=\{\alpha v,~{}\alpha>0\},\) and

$$J(\alpha)=\intop\limits_{0}^{1}F_{s}(\lambda\alpha v+(1-\lambda)w)\,d\lambda, \quad\alpha>0.$$

Then the function \(J(\alpha)\) is decreasing.

Proof

Indeed,

$$\frac{1}{\Delta\alpha}\big{[}J(\alpha+\Delta\alpha)-J(\alpha)\big{]}=\frac{1}{ \Delta\alpha}\intop\limits_{0}^{1}\big{[}F(\lambda(\alpha+\Delta\alpha)v+(1- \lambda)w)-F(\lambda\alpha v+(1-\lambda)w)\big{]}\,d\lambda$$
$$\xrightarrow[\Delta\alpha\to 0]{}\intop\limits_{0}^{1}F_{\alpha}^{\prime}( \lambda\alpha v+(1-\lambda)w)\lambda\,d\lambda<0.$$

\(\square\)

Using the lemma, we conclude that one unknown part of the trajectory to the point \(a\) coincides with the segment \([a,b]\) (see Figs. 8a, 8b). To construct another part of the trajectory from the point \(a^{\prime}\) to \(t^{*}\), we use the following algorithm of finding an approximate solution of the problem \(J([q,p_{0}],a)\) (8), where \(a\in\,\stackrel{{\scriptstyle\circ}}{{K}}(s)\), \(l^{\prime}\) and \(l\) are the boundary rays with vertex \(s\) of the cone \(K(s)\), \(p_{o}\in l\), and \(q\in(s,p)\). We use the notation \(\displaystyle\intop\nolimits_{a}^{b}=\intop\nolimits_{a}^{b}F(x)\,dx\), where \([a,b]\) is a straight line segment.

Fig. 9
figure 9

Construction of an approximate solution of problem (8)

Fix a finite family of rays \(l_{i}\in K(s)\) with vertex \(s\) that intersect the interval \((a,q)\) in order from the point \(q\) to the point \(a\). Let \(p_{1}\in l_{1}\) be the point farthest from \(s\) such that the interval \([p_{1},p_{0}]\) is disjoint with the interior of the set \(X\backslash Y\). Define \(c_{i}=l_{i}\cap[a,p_{i-1}]\). Applying the lemma (see Fig. 9), we get

$$\intop\limits_{a}^{q}>\intop\limits_{a}^{p_{0}}\ \ \text{for}\ \ w=a,$$
(9)
$$\left.\begin{array}[]{l}\displaystyle\intop\limits_{c_{1}}^{p_{0}}>\intop \limits_{p_{0}}^{p_{1}}\ \ \text{for}\ \ w=p_{0},\\ \displaystyle\intop\limits_{a}^{c_{1}}>\intop\limits_{a}^{p_{1}}\ \ \text{for} \ \ w=a\end{array}\right\}\Rightarrow\intop\limits_{a}^{p_{0}}>\intop\limits_{ a}^{p_{1}}+\intop\limits_{p_{1}}^{p_{0}}.$$
(10)

Let \(p_{2}\in l_{2}\) be the point farthest from \(s\) such that the segment \([p_{1},p_{2}]\) is disjoint with the interior of the set \(X\backslash Y\). Applying the lemma, we get

$$\left.\begin{array}[]{l}\displaystyle\intop\limits_{c_{2}}^{p_{1}}>\intop \limits_{p_{2}}^{p_{1}}\ \ \text{for}\ \ w=p_{1},\\ \displaystyle\intop\limits_{a}^{c_{2}}>\intop\limits_{a}^{p_{2}}\ \ \text{for} \ \ w=a\end{array}\right\}\Rightarrow\intop\limits_{a}^{p_{1}}>\intop\limits_{ a}^{p_{2}}+\intop\limits_{p_{2}}^{p_{1}}.$$
(11)

It follows from (9)–(11) that

$$\intop\limits_{a}^{q}>\intop\limits_{a}^{p_{0}}>\intop\limits_{a}^{p_{1}}+ \intop\limits_{p_{1}}^{p_{0}}>\intop\limits_{a}^{p_{2}}+\intop\limits_{p_{2}}^ {p_{1}}+\intop\limits_{p_{1}}^{p_{0}}.$$

Thus, four trajectories are constructed: \([a,q]\), \([a,p_{0}]\), \([a,p_{1}]\cup[p_{1},p_{0}]\), and \([a_{0},p_{2}]\cup[p_{2},p_{1}]\cup[p_{1},p_{0}]\) with decreasing values of the total exposure. These trajectories connect the point \(a\) with the segment \([q,p_{0}]\). The trajectory construction process can be continued by using all rays from the given family \(\{l_{i}\}\). Expanding the family \(\{l_{i}\}\), we construct a trajectory for which the segment \([p_{0},p_{1}]\cup[p_{1},p_{2}]\cup\mathinner{\ldotp\ldotp\ldotp}\cup[p_{k},p_{ k+1}]\) better approximates a part of the boundary \(\Gamma_{2}\). Moreover, we can define an infinite set of rays in \(\big{\{}l_{i}\big{\}}\) approaching a point and construct a “converging” sequence of trajectories.

Thus, if there is a pair of sources \(s_{1}\) and \(s_{2}\) with nonempty intersection \(\stackrel{{\scriptstyle\circ}}{{K}}_{Y}\!\!(s_{1})\,\cap\!\stackrel{{ \scriptstyle\circ}}{{K}}_{Y}\!\!(s_{2})\), in order to find an optimal trajectory, one should determine to which of the considered cases the relative position of the cones \(K_{Y}(s_{i})\) belongs.

If the sources lie on the same part of the boundary \(\partial Y\), say, on \(\Gamma_{1}\) and \(\stackrel{{\scriptstyle\circ}}{{K}}_{Y}\!(s_{1})\,\cap\stackrel{{\scriptstyle \circ}}{{K}}_{Y}\!(s_{2})\neq\varnothing\), then the above reasoning in the case of a single irradiator remains valid.

4 APPROXIMATE CONSTRUCTION OF OPTIMAL TRAJECTORIES IN \(\mathbb{R}^{3}\)

Consider the case of a single emitter \(s\)

Assume that the boundary \(\partial Y\) does not block radiation, i.e., does not form shadows. Assume also that \(s\not\in Y\), any trajectory \({\mathcal{T}}\in\mathbb{T}\) intersects the interior of the truncated cone \(K_{Y}(s)=K(s)\cap Y\), and, moreover, \(K_{Y}\) is the connected part of the corridor \(Y\) nearest to \(s\) that has the indicated property. We will proceed from the fact that the opening of the cone \(K(s)\) is less than \(\pi\). For the chosen value of \(m\), we construct two one-parameter families of planes

$$\{P^{i}\},\ \{Q^{j}\},\quad i,j\in\{1,2,\mathinner{\ldotp\ldotp\ldotp},m\}.$$

Suppose that \({\mathcal{L}}\) and \({\mathcal{R}}\) are the left and right sides of the surface \(Y\cap\,\partial K(s)\), respectively (in the sense that any trajectory from \(\mathbb{T}\) enters the truncated cone \(K_{Y}(s)\) through \({\mathcal{L}}\) and leaves it through \({\mathcal{R}}\)), \(p_{l}\) and \(p_{r}\) are points from the intersection of the corridor \(Y\) and the surfaces \({\mathcal{L}}\) and \({\mathcal{R}}\), respectively, and \(P_{l}\) and \(P_{r}\) are the tangent planes to \({\mathcal{L}}\) and \({\mathcal{R}}\) at the points \(p_{l}\) and \(p_{r}\). It is clear that \(s\in P_{l}\cap P_{r}\). Let \(Q_{I}\) and \(Q_{II}\) be the planes containing the point \(s\) and supporting \(K_{Y}(s)\) from different sides of the corridor \(Y\). We define

$$P^{i}=\frac{1}{i}P_{l}+\Big{(}1-\frac{1}{i}\Big{)}P_{r},\quad\ \ Q^{j}=\frac{1 }{j}{Q_{I}}+\Big{(}1-\frac{1}{j}\Big{)}{Q_{II}},\quad\ \ i,j\in\{1,2, \mathinner{\ldotp\ldotp\ldotp},m\}$$
(12)

for given \(m\). The planes \(P^{i}\) and \(Q^{j}\) decompose the cone \(K(s)\) into partial cones \(K_{ij}\) bounded by the planes \(P^{i}\), \(P^{i+1}\), \(Q^{j}\), and \(Q^{j+1}\). Let, for a ray \(l\subset K_{ij}\), the point \(z(l)\in l\cap K_{Y}(s)\) be the most distant from \(s\). Among these rays, we find a ray \(l=l_{ij}\) for which \(\|s-z(l_{ij})\|\) takes the greatest value. Define \(z_{ij}=z(l_{ij})\). We construct a graph whose vertices are the points \(z_{ij}\) and edges are the segments connecting points \(z_{ij}\) and \(z_{i^{\prime}j^{\prime}}\) from neighboring partial cones, i.e., cones having a common edge or a common face containing the point \(s\). To determine the weight of an edge \([z_{ij},z_{i^{\prime}j^{\prime}}]\), we find the distance \(\rho_{z}\) from \(s\) to the boundary \(\partial Y\) along the ray \(\{s+\alpha(z-s)\), \(\alpha>0\}\), where \(z=\lambda z_{ij}+(1-\lambda)z_{i^{\prime}j^{\prime}}\). The edge weight is defined as

$$\intop\limits_{0}^{1}{\widetilde{F}}(\rho_{z}(\lambda z_{ij}+(1-\lambda)z_{i^{ \prime}j^{\prime}}))\,d\lambda.$$

Let \(Z_{l}\) be the set of the vertices \(z_{ij}\) of the graph that correspond to the partial cones \(K_{ij}\) intersecting the left side \({\mathcal{L}}\) of the set \(Y\cap\partial K(s)\). The set of vertices \(Z_{r}\) can be defined similarly. The problem of constructing a trajectory that approximates the optimal one is reduced to finding a path connecting the sets \(Z_{l}\) and \(Z_{r}\) and having the least sum of the weights of its edges.

Consider the case of two emitters \(s_{1}\) and \(s_{2}\) in \(\mathbb{R}^{3}\)

Assume that \(F_{s_{1}}=F_{s_{2}}\) and the set \({\mathcal{D}}=\stackrel{{\scriptstyle\circ}}{{K}}_{Y}\!(s_{1})\ \cap\stackrel{ {\scriptstyle\circ}}{{K}}_{Y}\!(s_{2})\) is nonempty. We can also assume that \([s_{1},s_{2}]\ \cap\stackrel{{\scriptstyle\circ}}{{{\mathcal{D}}}}=\varnothing\), since the emitters \(s_{1}\) and \(s_{2}\) should not irradiate each other. Here, as earlier, we use the notation \({\mathcal{L}}_{i}={\mathcal{L}}K_{Y}(s_{i})\) and \({\mathcal{R}}_{i}={\mathcal{R}}K_{Y}(s_{i})\) for the left and right sides of the truncated cone \(K_{Y}(s_{i})\). The part of the corridor \(Y\) located, say, to the right from \({\mathcal{R}}_{2}\) and to the left from \({\mathcal{L}}_{1}\) is called a box and is denoted by \({\mathcal{R}}_{2}{\mathcal{L}}_{1}\). Possible positions of the cones \(K(s_{1})\) and \(K(s_{2})\) are shown in Fig. 10. The boundary edges of the set \({\mathcal{D}}\) are marked with the bold solid and dashed lines. We have \(s_{1}\not\in K(s_{2})\) and \(s_{2}\not\in K(s_{1})\), and the set \({\mathcal{D}}\) is the intersection of \(Y\) with a tetrahedron with convex conical faces in the case (a); in the case (b), \(s_{2}\in K(s_{1})\) and \({\mathcal{D}}=Y\cap K(s_{1})\cap K(s_{2})\).

Fig. 10
figure 10

(a) The case \(s_{1}\not\in K(s_{2}),s_{2}\not\in K(s_{1})\). (b) The case \(s_{2}\in K(s_{1})\) and \({\mathcal{D}}=Y\cap K(s_{1})\cap K(s_{2})\).

For definiteness, we assume that the segment \([s_{1},s_{2}]\) lies “to the left” from the set \({\mathcal{D}}\). Denote the plane orthogonal to this segment and containing the point \((s_{1}+s_{2})/2\) by \(L\).

First, we assume that \(L\cap{\mathcal{D}}=\varnothing\). In this case, the optimal trajectory \({\mathcal{T}}\) is disjoint with \({\mathcal{D}}\), since, if \(t\in{\mathcal{T}}\cap{\mathcal{D}}\) and \(\rho(s_{1},t)\neq\rho(s_{2},t)\), the point \(t\) could be shifted to a point \(t^{\prime}\in{\mathcal{D}}\) such that

$$\rho(s_{1},t)+\rho(s_{2},t)<\rho(s_{1},t^{\prime})+\rho(s_{2},t^{\prime}).$$

Indeed, when \(\rho(s_{1},t)>\rho(s_{2},t)\), we can take \(t^{\prime}=s_{2}+\varepsilon(t-s_{2})\) for small \(\varepsilon>0\). Hence, \({\mathcal{T}}\) intersects the cones \(K(s_{i})\) successively, say, first \(K(s_{1})\) and then \(K(s_{2})\) (the case of the other order is considered similarly). Thus, the problem is to find a trajectory \({\mathcal{T}}\) that optimally intersects \(K(s_{1})\) when passing from the box \({\mathcal{L}}_{1}{\mathcal{L}}_{2}\) to the box \({\mathcal{R}}_{1}{\mathcal{L}}_{2}\); further, we must find a trajectory that optimally intersects \(K(s_{2})\) when passing from the box \({\mathcal{R}}_{1}{\mathcal{L}}_{2}\) to the box \({\mathcal{R}}_{1}{\mathcal{R}}_{2}\). The optimality means minimizing the total exposure of the object over each segment \(\delta{\mathcal{T}}_{i}={\mathcal{T}}\cap K(s_{i})\), \(i=1,2\). The behavior of the optimal trajectory on a short interval can be tracked using the intersection points with the planes of a specially chosen one-parameter family similar to the family \(P_{\lambda}=\lambda P_{l}+(1-\lambda)P_{r}\) (see (12)). This family must cut a part of the space and the trajectory that obviously contains the segment \(\delta{\mathcal{T}}_{i}\) of the trajectory. Taking into account the convexity of the cones \(K(s_{i})\ (i=1,2)\) and choosing an appropriate one-parameter family of planes, we see that

\(\scriptstyle\bullet\)  in the case (a), the farthest from \(s_{1}\) trajectory of traversing the cone \(K(s_{1})\), denoted as \({\mathcal{T}}^{\prime}\), belongs to the set \(Y\cap K(s_{1})\cap{\mathcal{L}}_{2}\),

\(\scriptstyle\bullet\)  in the case (b), the trajectory most distant from \(s_{1}\) is composed of two parts \({\mathcal{T}}^{\prime\prime}\) and \({\mathcal{T}}^{\prime\prime\prime}\), the first of which, \({\mathcal{T}}^{\prime\prime}\), belongs to \(\partial Y\) and connects \({\mathcal{L}}_{1}\) and \({\mathcal{L}}_{2}\), while the second, \({\mathcal{T}}^{\prime\prime\prime}\), belongs to the set \(Y\cap K(s_{1})\cap{\mathcal{L}}_{2}\).

In both cases, it remains to construct the trajectory \({\mathcal{T}}_{2}\) intersecting optimally the cone \(K(s_{2})\). As noted above, the farthest from \(s_{i}\) curve is not always optimal; it is necessary to take into account its length. To find a trajectory close to optimal, the methods proposed in the previous sections can be used: namely, the methods presented in the section where the problem is studied in \(\mathbb{R}^{2}\) in order to construct \({\mathcal{T}}^{\prime}\) and \({\mathcal{T}}^{\prime\prime\prime}\) and the algorithm for finding a trajectory in \(\mathbb{R}^{3}\) in the case of a single emitter in order to find \({\mathcal{T}}^{\prime\prime}\). In Fig. 10, one of the optimal trajectories is shown by the dotted line.

Let \(L_{{\mathcal{D}}}\buildrel def\over{=}L\cap{\mathcal{D}}\). The points \(x\in{\mathcal{D}}\) are exposed to irradiation of magnitude \(2F(\|s_{1}-x\|)\) from the virtual source \((s_{1}+s_{2})/2\). The set \({\mathcal{D}}\) is the intersection of \(Y\) with a convex set whose boundary in the case (a) consists of fragments of four (three in the case (b)) conical surfaces:

$${\mathcal{L}}_{1}\cap K_{{2}},\quad{\mathcal{R}}_{1}\cap K_{2},\quad{\mathcal{ L}}_{2}\cap K_{1},\quad{\mathcal{R}}_{2}\cap K_{1},$$

where \(K_{i}=K(s_{i})\). In the simplest case where the plane \(L\) intersects the edges \(\widetilde{l}=({\mathcal{L}}_{1}\cap{\mathcal{L}}_{2})\cap Y\) and \(\widetilde{r}=({\mathcal{R}}_{1}\cap{\mathcal{R}}_{2})\cap Y\), the problem reduces to searching for an optimal planar curve from \(L_{{\mathcal{D}}}\)connecting the points of intersection of \(L\) with the specified edges. This curve can be constructed by using the above lemma. The optimal trajectory outside \({\mathcal{D}}\) belongs to the boxes \({\mathcal{L}}_{1}{\mathcal{L}}_{2}\) and \({\mathcal{R}}_{1}{\mathcal{R}}_{2}\), which lie outside the irradiation zone.

In the general case, we find the distances

$$\min\big{\{}\|x-d\|\colon x\in\widetilde{l},\ d\in L_{{\mathcal{D}}}\big{\}}, \quad\min\big{\{}\|y-d\|\colon y\in\widetilde{r},\ d\in L_{{\mathcal{D}}}\big{\}}$$

and pairs of points \(\{x_{l}\in\widetilde{l},d_{l}\in L_{{\mathcal{D}}}\}\) and \(\{y_{r}\in\widetilde{r},d_{r}\in L_{{\mathcal{D}}}\}\) implementing these lower bounds. To solve the problem, it suffices to construct an optimal trajectory in \(L_{{\mathcal{D}}}\) connecting the points \(d_{l}\) and \(d_{r}\) and two trajectories in \(\overline{{\mathcal{D}}}\): one of them connects the points \(x_{l}\) and \(d_{l}\) and the other connects the points \(y_{r}\) and \(d_{r}\).

The above methods make it possible to construct either an optimal or close to optimal trajectory in different cases of the location of the cones \(K(s)\).