A PC-tree is an unrooted tree that represents a family of cyclic orders of the elements labeling
its leaves. Each internal node has type or
. The incident edges
at a
-node may be placed in any cyclic
order. At a
-node
they must follow a specified cyclic order or its
reversal. Each choice of these local orders gives an embedding in the plane.
Reading the leaves around its boundary in a fixed direction
gives a represented cyclic order (Hsu and McConnell
2003).
A (0,1)-matrix has the circular ones property if its columns can be arranged in one cyclic order in which the 1s in each row form a consecutive block, possibly wrapping past the starting column. Hsu and McConnell (2003) showed how to construct a PC-tree whose leaves are the columns and whose orders are exactly the arrangements satisfying these constraints.
To obtain the linear arrangements for the consecutive ones property, first append an all-zero column. Read each feasible cyclic arrangement
starting just after that column and omit it from the output. No block of 1s can cross
the zero column. Rooting the PC-tree at the edge of the added leaf gives the corresponding
PQ-tree after removing the added leaf and treating -nodes as
-nodes (Hsu and McConnell 2003).