67 research outputs found
Convex Configurations on Nana-kin-san Puzzle
We investigate a silhouette puzzle that is recently developed based on the golden ratio. Traditional silhouette puzzles are based on a simple tile. For example, the tangram is based on isosceles right triangles; that is, each of seven pieces is formed by gluing some identical isosceles right triangles. Using the property, we can analyze it by hand, that is, without computer. On the other hand, if each piece has no special property, it is quite hard even using computer since we have to handle real numbers without numerical errors during computation. The new silhouette puzzle is between them; each of seven pieces is not based on integer length and right angles, but based on golden ratio, which admits us to represent these seven pieces in some nontrivial way. Based on the property, we develop an algorithm to handle the puzzle, and our algorithm succeeded to enumerate all convex shapes that can be made by the puzzle pieces.
It is known that the tangram and another classic silhouette puzzle known as Sei-shonagon chie no ita can form 13 and 16 convex shapes, respectively. The new puzzle, Nana-kin-san puzzle, admits to form 62 different convex shapes
Finding Top-k Longest Palindromes in Substrings
Palindromes are strings that read the same forward and backward. Problems of
computing palindromic structures in strings have been studied for many years
with a motivation of their application to biology. The longest palindrome
problem is one of the most important and classical problems regarding
palindromic structures, that is, to compute the longest palindrome appearing in
a string of length . The problem can be solved in time by the
famous algorithm of Manacher [Journal of the ACM, 1975]. This paper generalizes
the longest palindrome problem to the problem of finding top- longest
palindromes in an arbitrary substring, including the input string itself.
The internal top- longest palindrome query is, given a substring
of and a positive integer as a query, to compute the top- longest
palindromes appearing in . This paper proposes a linear-size data
structure that can answer internal top- longest palindromes query in optimal
time. Also, given the input string , our data structure can be
constructed in time. For , the construction time is reduced
to
How to collect balls moving in the Euclidean plane
AbstractIn this paper, we study how to collect n balls moving with a fixed constant velocity in the Euclidean plane by k robots moving on straight track-lines through the origin. Since all the balls might not be caught by robots, differently from Moving-target TSP, we consider the following 3 problems in various situations: (i) deciding if k robots can collect all n balls; (ii) maximizing the number of the balls collected by k robots; (iii) minimizing the number of the robots to collect all n balls. The situations considered in this paper contain the cases in which track-lines are given (or not), and track-lines are identical (or not). For all problems and situations, we provide polynomial time algorithms or proofs of intractability, which clarify the tractability–intractability frontier in the ball collecting problems in the Euclidean plane
- …