Dancing links

Computer Science – Data Structures and Algorithms

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

Abstract added by Greg Kuperberg

Scientific paper

The author presents two tricks to accelerate depth-first search algorithms for a class of combinatorial puzzle problems, such as tiling a tray by a fixed set of polyominoes. The first trick is to implement each assumption of the search with reversible local operations on doubly linked lists. By this trick, every step of the search affects the data incrementally. The second trick is to add a ghost square that represents the identity of each polyomino. Thus puts the rule that each polyomino be used once on the same footing as the rule that each square be covered once. The coding simplifies to a more abstract form which is equivalent to 0-1 integer programming. More significantly for the total computation time, the search can naturally switch between placing a fixed polyomino or covering a fixed square at different stages, according to a combined heuristic. Finally the author reports excellent performance for his algorithm for some familiar puzzles. These include tiling a hexagon by 19 hexiamonds and the N queens problem for N up to 18.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

Dancing links does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with Dancing links, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Dancing links will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-250974

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.