<
x
PQ- & PC-trees
This website allows you to generate PQ- and PC-trees corresponding to a binary matrix where the columns shall be reordered such that, in each row, all ones are consecutive. Click any cell of the matrix to toggle its value and see how the tree changes. Check the sidebar on the left for reordering the columns to make the 1's consecutive.