Generate the patterns of bridge operation