An example of structure selection based on hierarchical clustering. For each structure in the folding space of sequence X
, the grammar string encoding the structure and the sequence is denoted as . All sequences and their associated structures are converted into grammar strings before clustering. The highlighted rectangles indicate grammar strings that are selected as representative structures.