How does the AI consider my roster history?

How do I take history into account when generating my next roster using the AI?

Enter the end of the last roster so our AI will maintain full rule compliance between the end of the previous roster and the start of this roster.

Since our AI does not assume any information about the preceding roster, without information about the previous roster the AI may end up assigning a series of consecutive shifts to an employee that already had a series of consecutive shifts at the end of the previous roster, leading to an unallowable number of shifts in a row.