A 12-representable graph is a finite simple graph that admits a labeling of its vertices by distinct
integers and a word containing
every label, with the following rule. For labels , keep only the occurrences of
and
in the word. The two vertices are
adjacent iff every
precedes every
in the resulting subword. Equivalently,
the subword has no occurrence of the consecutive pattern
, an instance of the increasing pattern 12 (Jones et
al. 2015).
For example, the path graph on three vertices admits the word 231 when its center is labeled 1. If the center is labeled 2, the two edges would require every 3 to precede every 2 and every 2 to precede every 1. This would force an graph edge between 1 and 3, ruling out a representation with those labels.
Takaoka (2024a) proved that a graph is 12-representable iff its graph complement is a simple-triangle graph. This equivalence concerns the existence of a suitable labeling.
For a fixed labeling admitting a 12-representation, Takaoka (2024b) gave an time algorithm
to find a shortest representing word, where
is the number of vertices
and
denotes big-O notation. Its length is
, where
counts the labels
for which there are labels
with
a graph edge and both
and
absent. Such a label must occur at least twice. The algorithm
produces a word with two occurrences of each such label
and one of every other label.