English

2-uniform words: cycle graphs, and an algorithm to verify specific word-representations of graphs

Combinatorics 2018-06-14 v1

Abstract

For an arbitrary word ww on an alphabet, we can define the alternating symbol graph, G(w)G(w), as the graph in which the edge (a,b)(a, b) is in EE iff the letters aa and bb alternate in the word ww. A graph G=(V,E)G = (V, E) is said to be word-representable if G=G(w)G = G(w) for some word ww on VV. The general problem of checking whether a graph is word-representable has been shown to be NP-complete. However, checking whether a given graph is a 2-uniform word-representable (each letter occurring exactly twice in the word) has an O(V2)O(V^2)-time algorithm, described by Spinrad. Related to this, we propose a novel O(Vlog(V)+E)O(V \log(V) + E) time algorithm implementing Fenwick Trees to check whether G(w)=GG(w) = G, for a given 2-uniform word ww and a graph G=(V,E)G = (V, E). We also prove that the number of 2-uniform words representing the labelled nn-vertex cycle graphs is precisely 4n4n.

Keywords

Cite

@article{arxiv.1806.04673,
  title  = {2-uniform words: cycle graphs, and an algorithm to verify specific word-representations of graphs},
  author = {Ameya Daigavane and Mrityunjay Singh and Benny K. George},
  journal= {arXiv preprint arXiv:1806.04673},
  year   = {2018}
}

Comments

7 pages. Focus of research talk at the Workshop on Words and Complexity, Villeurbanne, France in February 2018

R2 v1 2026-06-23T02:27:44.471Z