We can do this with just two vectors, follow the steps below:

- Create two vectors to store SDR.
- Make a full connection to the elements of these two vectors
- Update the weight of connection each time the SDR changes.

These two vectors can store the transition of the pattern and can be used for prediction.