Manuscript Offprint
arXiv:2608.22219Linear-Time Transformations Between Connectivity Maintenance and Points Spreading on Linear and Cyclic Domains
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Given points on a line or closed cycle and a threshold , the connectivity-maintenance problem is to move the points so that every gap between consecutive points is at most , whereas the points-spreading problem requires every gap to be at least . Li and Wang [CCCG 2015; CGT 2025] and Chen, Gu, Li, and Wang [SWAT 2012; DCG 2013] gave -time algorithms for the cyclic versions of min-max points-spreading and min-max connectivity-maintenance, respectively. Ghadiri and Yazdanbod [CCCG 2016] gave an -time algorithm for the linear version of min-sum points-spreading. In this paper, we show that the two problems can be reduced in linear time to each other for both objectives and on both linear and cyclic domains. As an implication, min-sum connectivity-maintenance is solvable in time on both domains. Finally, we extend the reduction to points on a line with individual thresholds when their initial order is preserved.
2012 ACM Subject Classification Theory of computation → Computational geometry; Theory of computation → Design and analysis of algorithms
Keywords and phrases points spreading, dispersion problem, connectivity, min-sum, min-max
Acknowledgements I would like to thank Alexander Wolff for the fruitful discussions where the ideas of this paper first came to me.
1 Introduction
In the context of wireless sensor networks, the positions of sensors are crucial to maintaining coverage and connectivity. When their initial positions do not satisfy the required constraints, moving the sensors is one way to improve coverage or connectivity [2, 18, 19]. Even in one-dimensional domains, vehicles or sensors positioned along a road are moved to maintain network connectivity [16], while sensors on a line or closed boundary are moved to establish barrier coverage [1, 5, 13]. By contrast, sensors may be reallocated to reduce interference caused by overlapping sensing ranges [11, 12].
These tasks lead to two movement problems with opposite distance constraints. Given n points on a line or closed cycle and a positive threshold r, in CONNECTIVITY-MAINTENANCE we want to move the points so that every gap between consecutive points in the final order is at most r, whereas in POINTS-SPREADING we wish for every such gap to be at least r. On a closed cycle, distances and movements are measured along the closed cycle, and unlike the linear version, the constraint of CONNECTIVITY-MAINTENANCE applies to every cyclic gap, including the gap between the last and first points [3, 13]. For either problem, the objective is to minimise either the maximum movement of a point or the total movement, giving the min-max and min-sum objectives, respectively.
Although the two problems have opposite distance constraints, they otherwise share the same basic structure. In both problems we are given the same set of points and threshold, allow the same movements, and use the same objective functions. Interestingly enough, this similarity also appears in the known algorithms for the cyclic versions of min-max CONNECTIVITY-MAINTENANCE and POINTS-SPREADING. For CONNECTIVITY-MAINTENANCE, the authors of [3] find a consecutive sequence of points whose gaps are
Transformations Between Connectivity Maintenance and Points Spreading
too large. Their algorithm moves the first and last points of this sequence towards each other, places the points between them at distance r, and then greedily moves the remaining points. For POINTS-SPREADING, the greedy algorithm due to Li and Wang [15] first moves the points in one direction and then shifts all points back by half of the largest movement. The recent approach by Li [13] for min-max CONNECTIVITY-MAINTENANCE follows the same approach, but instead reduces gaps larger than r. In all three approaches, the optimal value is determined by a consecutive sequence of gaps whose total length is too large for CONNECTIVITY-MAINTENANCE or too small for POINTS-SPREADING. Despite this similarity, the two problems considered here have been formulated and studied separately. For the min-sum objective, algorithms are known for POINTS-SPREADING [9,10]. To the best of our knowledge, no similar approach has been given for CONNECTIVITY-MAINTENANCE.
Seeing these similarities, it is natural to ask whether these two problems are, in fact, closely related. Our results show that they are. We give transformations between the two problems in both directions, for both objectives and on both domains, such that the corresponding optimal costs differ only by a scaling factor. Together with the known algorithms for min-sum POINTS-SPREADING, this implies that min-sum CONNECTIVITY-MAINTENANCE is solvable in time on a line and a closed cycle.
Related Work Both problems belong to the general study of minimising the movement of geometric objects subject to distance constraints [6]. For min-max POINTS-SPREADING, Dumitrescu and Jiang gave the first polynomial-time algorithms on a line and a closed cycle using linear programming [7]. Li and Wang improved these results to optimal -time algorithms on both a line and a closed cycle [15]. Ghadiri and Yazdanbod gave an -time algorithm for min-sum POINTS-SPREADING on a line [9]. The authors of [10] later gave an -time algorithm on a closed cycle, completing the four cases of POINTS-SPREADING considered here. A related min-max problem asks to move intervals on a line until they are pairwise disjoint. Li and Wang gave an algorithm with optimal runtime of for this problem [14]. This problem is equivalent to min-max POINTS-SPREADING with individual thresholds when each point represents the centre of an interval.
For min-max CONNECTIVITY-MAINTENANCE on a line, Li, Yan, and Zhang gave an algorithm that runs in linear time [16]. The closed-cycle version can also be viewed as covering the closed cycle with sensors of equal sensing range. The threshold is then twice the sensing range. An -time algorithm for this setting was given in [3]. Li later gave a linear-time algorithm that also obtains a lexicographically optimal solution [13]. To the best of our knowledge, no -time algorithms had been given for the linear and cyclic versions of min-sum CONNECTIVITY-MAINTENANCE.
Other work considers the related problem of moving sensors so that their sensing ranges cover a fixed line segment. For the min-sum objective and equal sensing ranges, the authors of [5] gave an -time algorithm, later improved by Andrews and Wang to optimal time [1]. For the min-max objective, an -time algorithm was given in [4]. This bound was improved to and to when all sensors are initially on the barrier [3]. For arbitrary sensing ranges, the min-sum problem is hard to approximate within any constant factor [5]. The authors of [8] strengthened this hardness and gave approximation and parameterised results. Mehrandish, Narayanan, and Opatrny instead considered minimising the number of sensors moved, giving polynomial-time algorithms for equal ranges and proving hardness for unequal ranges [17].
Table 1 Overview of runtimes for CONNECTIVITY-MAINTENANCE and POINTS-SPREADING. Results marked with are the runtimes implied by the results of this paper.
| Domain | Objective | Connectivity-Maintenance | Points-Spreading |
|---|---|---|---|
| Line | min-max | ||
| min-sum | |||
| Closed cycle | min-max | ||
| min-sum |
Our Results We give transformations between CONNECTIVITY-MAINTENANCE and POINTS-SPREADING in both directions. These transformation apply to both objectives and the obtained optimal costs differ only by a scaling factor. We first prove the result on a closed cycle (Section 3) and then on a line (Section 4). Together with the known min-sum algorithms for POINTS-SPREADING, they imply that min-sum CONNECTIVITY-MAINTENANCE is solvable in time on both domains. We also extend the linear result to individual thresholds when the final positions are required to preserve their initial order (Section 5). Finally, we give open problems in Section 6. Table 1 summarises the known runtimes together with our results.
2.1 Problem Formulation
We give the general formulation that includes both POINTS-SPREADING and CONNECTIVITY-MAINTENANCE problems. Let and denote the initial and final positions, respectively, of labelled points on a line or closed cycle. For each , point moves from to . We consider the movement cost functions:
Given a threshold , we denote an instance on the line or closed cycle by . The CONNECTIVITY-MAINTENANCE problem asks to find such that every gap is at most . The POINTS-SPREADING problem, instead, asks to find such that every gap
Transformations Between Connectivity Maintenance and Points Spreading
is at least . In either problem, the goal is to find while minimising (min-sum) or (min-max). When the domain, the threshold , and the objective are clear from context, we denote the minimum cost among all feasible by for CONNECTIVITY-MAINTENANCE and by for POINTS-SPREADING. For the cyclic version, we also assume that for CONNECTIVITY-MAINTENANCE and for POINTS-SPREADING. There are no feasible solutions for the corresponding instance otherwise. Lastly, we assume for the cyclic version that without loss of generality since we can choose as the origin and all gaps remain unchanged.
Order Preservation A solution preserves the order of if on the line and if occur in the same cyclic order as on a closed cycle. For both problems defined above, we assume that there is an optimal solution preserving the order of the points on both a line and a closed cycle. This was shown by Dumitrescu and Jiang [7], and an analogous property was shown by Ghadiri and Yazdanbod [9] for the linear version of min-sum POINTS-SPREADING. In general, the same uncrossing argument applies to all cases considered here, since one can always swap two crossing points while preserving feasibility and not increasing the movement cost. On a closed cycle, we first unwrap the portion containing the crossing and then wrap it back.
3 Transformation for the Cyclic Version
We show how to transform an instance of CONNECTIVITY-MAINTENANCE to an instance of POINTS-SPREADING, and vice versa. That is, given an instance with optimal solution Q for CONNECTIVITY-MAINTENANCE, we show that there is a corresponding instance with optimal solution . Figure 1 illustrates the transformation and the corresponding solutions for an instance with four points. We show how to derive these values. For simplicity, we may assume that . If , we can divide all coordinates and the length of the closed cycle by r to produce a scaled instance. Multiplying an optimal solution of the resulting instance by r recovers an optimal solution to the original instance.
The rest of the section is devoted to proving the following theorem.
▶ Theorem 1. For , one can transform an instance of CONNECTIVITY-MAINTENANCE on a closed cycle into an instance of POINTS-SPREADING such that , and vice versa.
Proof. By the scaling described above, it suffices to prove the statement for r = 1. Our transformation is based on the following observation: by the order preservation property, the constraints of both problems depend exclusively on the gaps between consecutive points. Thus if we want to transform an instance of one problem, say CONNECTIVITY-MAINTENANCE, we must only establish a correspondence between the gaps of P and the constructed instance of POINTS-SPREADING. If such a correspondence is possible, then a movement that reduces a gap in one instance must correspond to a movement that increases the corresponding gap in the other instance, and vice versa. The factor relating these distances consequently scales both the total and the maximum movement.
We show that the above factor exists. In particular, we want an instance such that the ith gap satisfies if and only if the ith gap satisfies for all , or equivalently, if and only if . For the constructed instance, we first consider setting since this assignment satisfies the inequality. However, we may have that which yields a negative value for .
CONNECTIVITY-MAINTENANCE
POINTS-SPREADING


Figure 1 Transformation example. Here, , and . An optimal solution for both objectives is (only and are shown). The POINTS-SPREADING instance is , where and , and an optimal solution is . The 4th gap violates the respective feasibility condition in both instances. In particular, and . Their movement vectors are and , and the second is obtained by multiplying the first by .
To solve this, we scale the value of by , yielding a value bounded by 1 since no gap can be larger than . We set then which gives .
We derive the remaining positions using the obtained gap formula for . For , we have and obtain the recurrence . Expanding this recurrence yields for every . Now, we choose and obtain for since . We can choose since is also determined only by the gaps between points.
For , we have . Expanding this formula, we obtain:
Hence . Since , the value of is at least . Thus can be spread on .
Lastly, we construct using the given solution for . For simplicity, we call a chosen shortest arc from to the movement arc of point and say that a movement arc crosses a point if the point is in the interior of the arc. To accomplish this, we need a solution satisfying for every . This equality may fail when the movement arc of point crosses the origin, in which case equals . We first show that in an optimal solution, there is always a point not crossed by any movement arc.
▷ Claim 2. There is an optimal solution and a point such that, for every , the movement arc of point does not cross .
Proof. Let Q be an optimal solution with minimum total movement. By the order preservation property, such an optimal solution always exists.
Transformations Between Connectivity Maintenance and Points Spreading

Figure 2 No point is crossed by both a clockwise and a counterclockwise movement arc. (Left) A point is crossed by both the clockwise movement arc of point from to and the counterclockwise movement arc of point from to . (Right) Top: Unwrapping at gives movements from to and from to . Bottom: Swapping and gives movement distances and .
First, we show that no point is crossed by both a clockwise and a counterclockwise movement arc. Suppose the contrary: there is a point crossed by both a clockwise and a counterclockwise movement arc. Let point move clockwise from to and point move counterclockwise from to (see Figure 2 (left)). We unwrap at and assume going from left to right is going clockwise in . Since the movement arcs have length at most , both movement arcs crossing lie entirely in the unwrapped interval. If a movement distance equals , we choose as the movement arc the shortest arc that crosses . Now, let be the distance from to , and the distance from to . Similarly, let be the distance from to , and the distance from to . We choose as the origin and observe that the points move from to and from to , respectively. Figure 2 (top right) illustrates this. If we swap these values (that is, we swap and ), the movement distances become and (Figure 2 (bottom right)). Moreover, swapping and leaves the set of final positions unchanged and hence preserves feasibility. On the other hand, is at most , while is less than , contradicting the optimality of for the min-sum objective and the choice of for the min-max objective.
We now consider whether every point of C is crossed by a movement arc. If not, there is at least one point not crossed by any movement arc and we are done. Then, suppose that every point of C is crossed by a movement arc. Since no point is crossed by both a clockwise and a counterclockwise movement arc, either every point moves clockwise or every point moves counterclockwise. Without loss of generality, we thus may assume that every point moves clockwise.
For every , we note that ( when ) must be contained in the movement arc of point ; see Figure 3 (left) Otherwise, some point on the arc from to is not crossed by any movement arc. We then consider the solution where point is moved to instead (Figure 3 (middle)). This reassignment preserves the order of and does not change the components of , thus is also a feasible solution. Moreover, the distances satisfy for every and strict inequality for at least one . Hence holds, contradicting the optimality of for the min-sum objective. For the min-max objective, the reassignment implies . If the inequality is strict, then the optimality of is contradicted. Otherwise, is also optimal. If some point of is not crossed by any movement arc of , then we obtained a desired optimal solution (Figure 3 (right)). Otherwise, we repeat the reassignment. Since each reassignment strictly decreases the total movement and there are only reassignments (if we do the th reassignment we obtain with less total movement, a contradiction), we

Figure 3 Illustration of Claim 2. (Top) Left: Every point of is crossed by a clockwise movement arc and lies on the movement arc of point . Middle: Point is moved to . Right: After reassignment, there is a point not crossed by any movement arc. (Bottom) The closed cycle is unwrapped at , showing that all distances have the form .
eventually obtain an where a point is not crossed by any movement arc. Therefore there is a point not crossed by any movement arc.
By Claim 2, after unwrapping at (and, if necessary, shifting the indices), we may choose coordinates such that , , and for every ; see Figure 3 (bottom). Translating all positions, we may still assume that . Moreover, for every , we write for a value . Similarly, we write . Thus, the point equals , which in turn equals . Using this formula, we conveniently set to and to . The obtained values of are feasible for the following reason. For every , the gap equals . Since is feasible, we have for every . Hence holds, implying that .
We showed how to construct an instance of POINTS-SPREADING and a feasible solution given an instance of CONNECTIVITY-MAINTENANCE with solution . Note that the same construction applies in the opposite direction. If is an instance of POINTS-SPREADING, then if and only if . Moreover, implies . Thus, the constructed instance is an instance of CONNECTIVITY-MAINTENANCE.
We only need to show that is optimal if and only if the corresponding is optimal. Recall that the distance equals . Since , we have that . Moreover, we have implied by . Hence , so the distance equals . This gives us the following cost for the min-sum objective,
For the min-max objective,
The above equalities show that the costs of the corresponding solutions (for either objective) differ by a factor of . Assume that is optimal. If is not optimal, let
Transformations Between Connectivity Maintenance and Points Spreading
be an optimal solution for . Using Claim 2 and after unwrapping , we may assume with for every , where equals , equals , and equals . Using the equality for the opposite transformation, we consider moving point from by . For every , the difference between the corresponding consecutive positions satisfies which in turn equals since . If is an instance of CONNECTIVITY-MAINTENANCE, then is a solution for POINTS-SPREADING, so and is at most 1. Also, since and , the total of these differences is and hence any empty gap greater than 1 found by sweeping from to would contradict this bound. Analogously, if is a instance of POINTS-SPREADING, then is a solution for CONNECTIVITY-MAINTENANCE, so and is at least 1. Hence the constructed solution is feasible for in either direction. Moreover, the distance for every satisfies . In other words, the obtained solution has cost at most times the cost of , for either objective. Since the cost of is smaller than the cost of , this gives a solution for with smaller cost than , contradicting optimality. In the other direction, if is optimal but is not, applying the construction of to an optimal solution for gives a solution for with cost smaller than , again contradicting optimality. Therefore for either objective, is optimal if and only if the corresponding is optimal.
The above theorem shows that the optimal costs of the corresponding CONNECTIVITY-MAINTENANCE and POINTS-SPREADING instances differ by a factor of , for both objectives. The authors of [10] proved that the cyclic version of min-sum POINTS-SPREADING on n points can be solved in time. Their algorithm removes overlaps of open unit circular arcs while minimising the total movement, and the reduction centres an arc at each point. Two arcs are disjoint if and only if their centres are at distance at least 1, and moving an arc is done by moving its centre. Our transformation takes linear time, so Theorem 1 implies the following:
▶ Corollary 3. The cyclic version of min-sum CONNECTIVITY-MAINTENANCE is solvable in time.
4 Transformation for the Linear Version
We now show how to transform an instance of CONNECTIVITY-MAINTENANCE on the line into an instance of POINTS-SPREADING, and vice versa. We use the same transformation idea as in Theorem 1. Unlike the cyclic version, the gaps between consecutive points can have arbitrary length in the linear version. Thus, applying the transformation to a solution of POINTS-SPREADING with a sufficiently large gap may reverse the order of the corresponding points. However, we show that the gaps of an optimal solution are bounded by the largest initial gap. In particular, every gap is at most the maximum of and the largest gap of the initial instance. This lets us apply an analogous transformation for the linear version. Let be an instance on the line, where , and let . We first show that an optimal solution of POINTS-SPREADING can be chosen with gaps between and .
▶ Lemma 4. For either objective, there is an order-preserving optimal solution for the POINTS-SPREADING instance such that for every .

Figure 4 Transformation example on the line with and . The CONNECTIVITY-MAINTENANCE instance is , where , and has an optimal solution for both objectives. The corresponding POINTS-SPREADING instance is , where , and its optimal solution is . The second gap violates feasibility in both initial instances: and . The movement vectors and show that movements reverse direction, while .

Figure 5 The three cases of Lemma 4 for r = 1. In all cases, one can obtain a gap bounded by M - 1 and smaller movement by shifting a point towards its initial position.
Proof. Again, it suffices to prove the statement for . Let be an optimal solution preserving the order of . Suppose that for some , and let . We divide the proof into three cases.
First, suppose that (Figure 5, left). Since , we have . We obtain a solution by moving point to the left by . In this solution, the th gap becomes and other gaps remain feasible. Moreover, remains to the right of , so the distance strictly decreases. The case (Figure 5, middle) is analogous by moving point to the right by .
It remains to consider the case and , see Figure 5 (right). Since and , there is an such that . Thus, we consider moving points and to and , respectively. Again, the th gap becomes and other gaps remain feasible. Moreover, we move points and closer to their initial positions, hence at least one distance strictly decreases.
In all three cases, the obtained solution is feasible and has smaller total movement. For the min-sum objective, this contradicts the optimality of . For the min-max objective, we assume that , among all order-preserving optimal solutions, is a solution with minimum total movement. In the above construction, no movement increases, so the obtained solution is also optimal for the min-max objective but contradicts the choice of since we obtained smaller total movement. Therefore, for every .
In the cyclic version, the length of the closed cycle gives an upper bound for the gaps and we exploit this fact to scale the values in the transformation. On the line, no such bound exists in general. However, with Lemma 4 we showed that there is an optimal solution where each gap is bounded by . After scaling by , we can use for the linear version in the same manner as in the cyclic version. This gives the following result.
▶ Theorem 5. For , one can transform an instance of the linear version of CONNECTIVITY-MAINTENANCE into an instance of POINTS-SPREADING such that , and vice versa.
Transformations Between Connectivity Maintenance and Points Spreading
Proof. We prove the statement for . Let be an instance of CONNECTIVITY-MAINTENANCE and let be an optimal solution preserving the order of . We use the same construction as the one for Theorem 1 replacing by . For every , the positions in the constructed instance and in its solution for POINTS-SPREADING are defined by:
Similarly, the gaps are defined as:
for every . We note that is feasible for the following reason. Since is feasible, we have that and . Thus is a feasible solution of POINTS-SPREADING. Moreover, for every . Hence, for either objective, the cost of is times the cost of , implying that .
In the other direction, let be an optimal solution of POINTS-SPREADING for . Since the gap satisfies , we may assume that by Lemma 4. Using the inverse of the above formula, we obtain and the resulting gaps are . By the bounds given for each , the resulting gaps are between 0 and 1. Thus is a feasible solution of CONNECTIVITY-MAINTENANCE. Moreover, for every , so the cost of equals times the cost of . Consequently, we obtain . Combining both inequalities, we obtain .
The transformation from an instance of POINTS-SPREADING to an instance of CONNECTIVITY-MAINTENANCE follows analogously. In particular, by Lemma 4, we may choose an optimal solution of POINTS-SPREADING whose gaps are between 1 and . Following the above transformation we conclude that the constructed is feasible for CONNECTIVITY-MAINTENANCE. In the other direction, every feasible solution for produces a feasible solution for . For every , the movement of the corresponding point in the resulting solution equals . Hence we obtain . We proved the statement for . For arbitrary , the result follows by scaling the coordinates by before applying the construction and scaling them back by . This concludes the proof.
As we mentioned in the introduction, the -time algorithm of Ghadiri and Yazdanbod [9] solves the linear version of min-sum POINTS-SPREADING. Together with Theorem 5, we conclude the following.
▶ Corollary 6. The linear version of min-sum CONNECTIVITY-MAINTENANCE is solvable in time.
5 Individual Thresholds on a Line
In this section, we extend the equivalence between CONNECTIVITY-MAINTENANCE and POINTS-SPREADING on the line to the setting where points have individual thresholds. That is, instead of using the same threshold r for every pair of points, point i has an individual threshold . For points i and j, we define their threshold as and their gap in a solution as . If for every , then , the adapted problems reduce to the uniform versions. Throughout this section, we refer to the usual problems with a common threshold as the uniform versions.
Unlike in the uniform versions, we cannot assume that an optimal solution preserves the order of the initial points. For min-max POINTS-SPREADING with individual thresholds, Li and Wang gave an -time algorithm for this problem in the context of intervals [14]. Here, we focus on a restricted version in which the points must preserve their initial order and establish the equivalence with CONNECTIVITY-MAINTENANCE for both objectives. This allows us to restrict the constraints to gaps between consecutive points in this order.
Problem Formulation Let denote the initial positions of labelled points on the line, indexed so that . Given and , the adapted version of CONNECTIVITY-MAINTENANCE asks to find an -tuple such that and for every . The adapted version of POINTS-SPREADING, instead, asks to find such a tuple satisfying for every . As before, the goal of both problems is to find while minimising or .
Again, the transformation uses the same idea as in the uniform linear version. We apply the construction to and , obtaining and , respectively. For each , the construction ensures that if and only if . The same correspondence holds between the gaps of and . Thus, every feasible solution of CONNECTIVITY-MAINTENANCE gives a feasible solution of POINTS-SPREADING. As in Lemma 4, to establish the equivalence, we also need a common factor that bounds the gaps of an optimal solution with respect to their individual thresholds.
Let . The definition of implies that for every . We can adapt the proof of Lemma 4 and show that an optimal solution of POINTS-SPREADING satisfies this bound. For every , whenever an optimal solution has , we reduce this gap to using the same three cases. Since , the three cases move point , point , or both closer to their respective initial positions while reducing the gap. Hence, no movement increases and at least one strictly decreases. Consequently, for either objective, there is an optimal solution satisfying:
We use this value as in Theorem 5 and show the following result.
▶ Theorem 7. One can transform an instance of the adapted linear version of CONNECTIVITY-MAINTENANCE with initial positions P into an instance of POINTS-SPREADING with initial positions and the same individual thresholds such that , and vice versa.
Proof. We use a very similar argument to that for Theorem 5. Let the CONNECTIVITY-MAINTENANCE instance have initial positions . We first derive a recurrence for the positions in . To this end, we establish a correspondence between the gaps of and . In particular, for every , we want
Following the same argument as in the proof of Theorem 1 for the scaling and using equation (1), we scale by and set , which gives .
Transformations Between Connectivity Maintenance and Points Spreading
We derive the positions using the obtained gap formula for . For every , we have that the ith gap of equals , and obtain the recurrence . Expanding this recurrence, we obtain
So we choose and obtain for every . By the definition of , these positions satisfy , so follows the same index order. We abbreviate the sum by setting . Similarly, given an optimal solution for , we apply the same construction and obtain for every . We note that is feasible by the following reason. Since is feasible, we have that and for every . Thus is a feasible solution of POINTS-SPREADING.
For optimality, we use the same argument as in the uniform linear version. From the formulas for and , we have , and thus the distance equals for every . Hence for either objective, we have . In the other direction, let be an optimal solution of POINTS-SPREADING for . We show how to transform into a feasible solution for . The gap formula gives for every , and since , equation (1) applied to allows us to choose satisfying:
By the above formula , we substitute for and obtain . The resulting gap equals and the bounds on imply that . Thus is an order-preserving feasible solution of CONNECTIVITY-MAINTENANCE. Moreover, for every . Consequently, . Combining both inequalities, we obtain .
For the reverse transformation, we use the same argument. Now let the POINTS-SPREADING instance have initial positions . By equation (1), we may choose an optimal solution satisfying for every . Under the same transformation, the gaps of are nonnegative and at most , so is an order-preserving feasible solution of CONNECTIVITY-MAINTENANCE. In the other direction, transforming any feasible CONNECTIVITY-MAINTENANCE solution for into by setting yields a feasible solution for . The same movement scaling in both directions gives .
6 Conclusions
In this paper, we give linear-time reductions between CONNECTIVITY-MAINTENANCE and POINTS-SPREADING on a line and a closed cycle. As a consequence, the linear and cyclic versions of min-sum CONNECTIVITY-MAINTENANCE are solvable in time. We also extend the reduction to points on a line with individual thresholds when their initial order is preserved. Several questions, however, remain open:
■ Does the relation between the two problems extend to points on a closed cycle with individual thresholds when their initial cyclic order is preserved?
■ Can the reduction for individual thresholds be extended to different, partially prescribed, or unrestricted final orders?
If we instead require the first and last of every consecutive points to be at distance at most (k-connectivity), how is this problem related to POINTS-SPREADING?
■ Is there any relation between the two problems in higher dimensions?
References
1 Aaron M. Andrews and Haitao Wang. Minimizing the aggregate movements for interval coverage. Algorithmica, 78(1):47–85, 2017. doi:10.1007/s00453-016-0153-8.
2 Jonathan L. Bredin, Erik D. Demaine, MohammadTaghi Hajiaghayi, and Daniela Rus. Deploying sensor networks with guaranteed capacity and fault tolerance. In Proc. 6th ACM Int. Symp. Mobile Ad Hoc Netw. Comp. (MobiHoc 2005), pages 309–319. ACM, 2005. doi:10.1145/1062689.1062729.
3 Danny Z. Chen, Yan Gu, Jian Li, and Haitao Wang. Algorithms on minimizing the maximum sensor movement for barrier coverage of a linear domain. Discrete Comp. Geom., 50(2):374–408, 2013. doi:10.1007/s00454-013-9525-x.
4 Jurek Czyzowicz, Evangelos Kranakis, Danny Krizanc, Ioannis Lambadaris, Lata Narayanan, Jaroslav Opatrny, Ladislav Stacho, Jorge Urrutia, and Mohammadreza Yazdani. On minimizing the maximum sensor movement for barrier coverage of a line segment. In Proc. 8th Int. Conf. Ad-Hoc, Mobile and Wireless Netw. (ADHOC-NOW 2009), volume 5793 of LNCS, pages 194–212. Springer, 2009. doi:10.1007/978-3-642-04383-3_15.
5 Jurek Czyzowicz, Evangelos Kranakis, Danny Krizanc, Ioannis Lambadaris, Lata Narayanan, Jaroslav Opatrny, Ladislav Stacho, Jorge Urrutia, and Mohammadreza Yazdani. On minimizing the sum of sensor movements for barrier coverage of a line segment. In Proc. 9th Int. Conf. Ad-Hoc, Mobile and Wireless Netw. (ADHOC-NOW 2010), volume 6288 of LNCS, pages 29–42. Springer Berlin Heidelberg, 2010. doi:10.1007/978-3-642-14785-2_3.
6 Erik D. Demaine, MohammadTaghi Hajiaghayi, Hamid Mahini, Amin S. Sayedi-Roshkhar, Shayan Oveisgharan, and Morteza Zadimoghaddam. Minimizing movement. ACM Trans. Algorithms, 5(3):30:1–30:30, 2009. doi:10.1145/1541885.1541891.
7 Adrian Dumitrescu and Minghui Jiang. Constrained k-center and movement to independence. Discrete Appl. Math., 159(8):859–865, 2011. doi:10.1016/j.dam.2011.01.008.
8 Serge Gaspers, Joachim Gudmundsson, Julián Mestre, and Stefan Rümmele. Barrier coverage with non-uniform lengths to minimize aggregate movements. In Proc. 28th Int. Symp. Algorithms and Comp. (ISAAC 2017), volume 92 of LIPIcs, pages 37:1–37:13. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2017. doi:10.4230/LIPIcs.ISAAC.2017.37.
9 Mehrdad Ghadiri and Sina Yazdanbod. Minimizing the total movement for movement to independence problem on a line. In Proc. 28th Can. Conf. Comp. Geom. (CCCG), pages 15–20, Vancouver, British Columbia, Canada, 2016. doi:10.48550/ARXIV.1606.09596.
10 Nicolás Honorato-Droguett, Kazuhiro Kurita, Tesshu Hanaka, Hirotaka Ono, and Alexander Wolff. Further results on rendering geometric intersection graphs sparse by dispersion. In Proc. 20th Int. Conf. and Workshops on Algorithms and Comp. (WALCOM 2026), volume 16444 of LNCS, pages 451–466. Springer, 2026. URL: https://doi.org/10.48550/arXiv.2509.20903, doi:10.1007/978-981-95-7127-7_30.
11 Rafal Kapelko. Analysis of the threshold for energy consumption in displacement of random sensors. Sensors, 22(22):8789, 2022. doi:10.3390/s22228789.
12 Evangelos Kranakis and Gennady Shaikhet. Sensor allocation problems on the real line. J. Appl. Probab., 53(3):667–687, 2016. doi:10.1017/jpr.2016.33.
Transformations Between Connectivity Maintenance and Points Spreading
13 Shimin Li. Algorithms for connectivity maintenance and barrier coverage on a closed cycle. In Proc. 38th Can. Conf. Comp. Geom. (CCCG), pages 192–201, Orillia, Ontario, Canada, 2026. doi:10.48550/ARXIV.2608.01307.
14 Shimin Li and Haitao Wang. Separating overlapped intervals on a line. J. Comp. Geom., 10(1):281–321, 2019. doi:10.20382/JOCG.V10I1A11.
15 Shimin Li and Haitao Wang. Algorithms for minimizing the movements of spreading points in linear domains. Comp. Geom. Topol., 4(1):1:1–1:15, 2025. doi:10.57717/CGT.V4I1.21.
16 Shimin Li, Zhongjiang Yan, and Jingru Zhang. An optimal algorithm for maintaining connectivity of wireless network on a line. In Proc. 31st Can. Conf. Comp. Geom. (CCCG), pages 78–84, Edmonton, Alberta, Canada, 2019.
17 Mona Mehrandish, Lata Narayanan, and Jaroslav Opatrny. Minimizing the number of sensors moved on line barriers. In Proc. IEEE Wireless Commun. Netw. Conf. (WCNC 2011), pages 653–658. IEEE, 2011. doi:10.1109/WCNC.2011.5779210.
18 G. Wang, G. Cao, and T.F. La Porta. Movement-assisted sensor deployment. IEEE Trans. Mobile Comp., 5(6):640–652, 2006. doi:10.1109/tmc.2006.80.
19 Michael M. Zavlanos and George J. Pappas. Potential fields for maintaining connectivity of mobile networks. IEEE Trans. Robot., 23(4):812–816, 2007. doi:10.1109/tro.2007.900642.