2,992 research outputs found
An Algorithmic Framework for Labeling Network Maps
Drawing network maps automatically comprises two challenging steps, namely
laying out the map and placing non-overlapping labels. In this paper we tackle
the problem of labeling an already existing network map considering the
application of metro maps. We present a flexible and versatile labeling model.
Despite its simplicity, we prove that it is NP-complete to label a single line
of the network. For a restricted variant of that model, we then introduce an
efficient algorithm that optimally labels a single line with respect to a given
weighting function. Based on that algorithm, we present a general and
sophisticated workflow for multiple metro lines, which is experimentally
evaluated on real-world metro maps.Comment: Full version of COCOON 2015 pape
How to Walk Your Dog in the Mountains with No Magic Leash
We describe a -approximation algorithm for computing the
homotopic \Frechet distance between two polygonal curves that lie on the
boundary of a triangulated topological disk. Prior to this work, algorithms
were known only for curves on the Euclidean plane with polygonal obstacles.
A key technical ingredient in our analysis is a -approximation
algorithm for computing the minimum height of a homotopy between two curves. No
algorithms were previously known for approximating this parameter.
Surprisingly, it is not even known if computing either the homotopic \Frechet
distance, or the minimum height of a homotopy, is in NP
Computation of the multi-chord distribution of convex and concave polygons
Analytical expressions for the distribution of the length of chords
corresponding to the affine invariant measure on the set of chords are given
for convex polygons. These analytical expressions are a computational
improvement over other expressions published in 2011. The correlation function
of convex polygons can be computed from the results obtained in this work,
because it is determined by the distribution of chords.
An analytical expression for the multi-chord distribution of the length of
chords corresponding to the affine invariant measure on the set of chords is
found for non convex polygons. In addition we give an algorithm to find this
multi-chord distribution which, for many concave polygons, is computationally
more efficient than the said analytical expression. The results also apply to
non simply connected polygons.Comment: 22 figures, 40 pages, 43 reference
Ear-clipping Based Algorithms of Generating High-quality Polygon Triangulation
A basic and an improved ear clipping based algorithm for triangulating simple
polygons and polygons with holes are presented. In the basic version, the ear
with smallest interior angle is always selected to be cut in order to create
fewer sliver triangles. To reduce sliver triangles in further, a bound of angle
is set to determine whether a newly formed triangle has sharp angles, and edge
swapping is accepted when the triangle is sharp. To apply the two algorithms on
polygons with holes, "Bridge" edges are created to transform a polygon with
holes to a degenerate polygon which can be triangulated by the two algorithms.
Applications show that the basic algorithm can avoid creating sliver triangles
and obtain better triangulations than the traditional ear clipping algorithm,
and the improved algorithm can in further reduce sliver triangles effectively.
Both of the algorithms run in O(n2) time and O(n) space.Comment: Proceedings of the 2012 International Conference on Information
Technology and Software Engineering Lecture Notes in Electrical Engineering
Volume 212, 2013, pp 979-98
- …