Abelian Periods on Partial Words
Implementation 1
This applet constructs an optimal full word with abelian periods p and q. For p and q with gcd>1, this applet produces the optimal word for the case where the periods match up.
The applet above provides an implementation of our algorithm in Java. This page may not function correctly if you do not have Java Runtime Environment v6u13 and the latest Java Plugin.