# context.ladybird(n)¶

Create the Ladybird automaton with $n$ states. This family of automata is a worst case for determinization: its determinized automaton has $2^n$ states.

Preconditions:

• the labelset has at least three generators

## Examples¶

In [1]:
import vcsn
b = vcsn.context('lal_char(abc), b')

In [2]:
b.ladybird(3)

Out[2]:

These automata are easier to read when states are put on a circle, as does the circo engine.

In [3]:
b.ladybird(7)

Out[3]:
In [4]:
from IPython.display import SVG