OX preserves the relative order of elements from one parent. Specifically, it preserves a contiguous block of positions from parent 1, and the relative order of remaining elements from parent 2.

  1. Choose cut points .
  2. Copy segment into the child at the same positions.
  3. Starting from position in (wrap around), fill empty child slots with elements not already present, preserving ‘s order.

So the end result would be: .

Another example:

For some reason this example fills cyclically from position ? But the first one fills in order from the start.