5 research outputs found

    Balanced Islands in Two Colored Point Sets in the Plane

    Get PDF
    Let SS be a set of nn points in general position in the plane, rr of which are red and bb of which are blue. In this paper we prove that there exist: for every α[0,12]\alpha \in \left [ 0,\frac{1}{2} \right ], a convex set containing exactly αr\lceil \alpha r\rceil red points and exactly αb\lceil \alpha b \rceil blue points of SS; a convex set containing exactly r+12\left \lceil \frac{r+1}{2}\right \rceil red points and exactly b+12\left \lceil \frac{b+1}{2}\right \rceil blue points of SS. Furthermore, we present polynomial time algorithms to find these convex sets. In the first case we provide an O(n4)O(n^4) time algorithm and an O(n2logn)O(n^2\log n) time algorithm in the second case. Finally, if αr+αb\lceil \alpha r\rceil+\lceil \alpha b\rceil is small, that is, not much larger than 13n\frac{1}{3}n, we improve the running time to O(nlogn)O(n \log n)

    Colored Ray Configurations

    Get PDF
    We study the cyclic sequences induced at infinity by pairwise-disjoint colored rays with apices on a given balanced bichromatic point set, where the color of a ray is inherited from the color of its apex. We derive a lower bound on the number of color sequences that can be realized from any fixed point set. We also examine sequences that can be realized regardless of the point set and exhibit negative examples as well. In addition, we provide algorithms to decide whether a sequence is realizable from a given point set on a line or in convex position

    Adaptive computation of the swap-insert correction distance

    No full text
    The Swap-Insert Correction distance from a string S of length n to another string L of length m≥n on the alphabet [1.δ] is the minimum number of insertions, and swaps of pairs of adjacent symbols, converting S into L. Contrarily to other correction distances, computing it is NP-Hard in the size δ of the alphabet. We describe an algorithm computing this distance in time within O(δ2nmtδ.1), where for each [1.δ] there are occurrences of in S,mϵoccurrences of ¿ in L, and where "t = max [1.δ] min is a new parameter of the analysis, measuring one aspect of the difficulty of the instance. The difficulty "t is bounded by above by various terms, such as the length n of the shortest string S, and by the maximum number of occurrences of a single character in S (max[1.δ]). This result illustrates how, in many cases, the correction distance between two strings can be easier to compute than in the worst case scenario

    Cross-sections of line configurations in R-3 and (d-2)-flat configurations in R-d

    No full text
    We consider sets L = {l(1),..., l(n)} of n labeled lines in general position in R-3, and study the order types of point sets {p(1),..., p(n)} that stem from the intersections of the lines in L with (directed) planes Pi, not parallel to any line of L, that is, the proper cross-sections of L. As two main results, we show that the number of different order types that can be obtained as cross-sections of G is O(n(9)) when considering all possible planes Pi, and O(n3) when restricting considerations to sets of pairwise parallel planes, where both bounds are tight. The result for parallel planes implies that any set of n points in R-2 moving with constant (but possibly different) speeds along straight lines forms at most O(n(3)) different order types over time. We further generalize the setting from R-3 to R-d with d > 3, showing that the number of order types that can be obtained as cross-sections of a set of n labeled (d - 2)-flats in Rd with planes is O ((((n3) + n)(d(d-2)))). (C) 2018 Elsevier B.V. All rights reserved
    corecore