Amortized efficiency of generating planar paths in convex position
Let S be a set of n ⩾ 3 points arranged in convex position in the plane and suppose that all points of S are labeled from 1 to n in clockwise direction. A planar path P on S is a path whose edges connect all points of S with straight line segments such that no two edges of P cross. Flipping an edge...
        Saved in:
      
    
          | Published in | Theoretical computer science Vol. 412; no. 35; pp. 4504 - 4512 | 
|---|---|
| Main Authors | , , , | 
| Format | Journal Article | 
| Language | English | 
| Published | 
        Oxford
          Elsevier B.V
    
        12.08.2011
     Elsevier  | 
| Subjects | |
| Online Access | Get full text | 
| ISSN | 0304-3975 1879-2294  | 
| DOI | 10.1016/j.tcs.2011.04.017 | 
Cover
| Summary: | Let
S
be a set of
n
⩾
3
points arranged in convex position in the plane and suppose that all points of
S
are labeled from 1 to
n
in clockwise direction. A planar path
P
on
S
is a path whose edges connect all points of
S
with straight line segments such that no two edges of
P
cross. Flipping an edge on
P
means that a new path
P
′
is obtained from
P
by a single edge replacement. In this paper, we provide efficient algorithms to generate all planar paths. With the help of a loopless algorithm to produce a set of 2-way binary-reflected Gray codes, the proposed algorithms generate the next planar path by means of a flip and such that the number of position changes for points in the path has a constant amortized upper bound. | 
|---|---|
| Bibliography: | ObjectType-Article-2 SourceType-Scholarly Journals-1 ObjectType-Feature-1 content type line 23  | 
| ISSN: | 0304-3975 1879-2294  | 
| DOI: | 10.1016/j.tcs.2011.04.017 |