Initially, the S deme maintained a population of 9712 until 6411.52 generations ago. From 6411.52 to 5207.8592, its size changed linearly to population size 2103. A exponential change ensued, culminating in 4994 individuals by 3994.9. Starting from 3994.9 generations ago, the population has changed from 4994 to 8230, at a exponential rate.
time_units: generations
demes:
  - name: S
    start_time: .inf
    epochs:
      - start_size: 9712
        end_time: 6411.52
      - start_size: 9712
        end_size: 2103
        end_time: 5207.8592
        size_function: linear
      - start_size: 2103
        end_time: 3994.9
        end_size: 4994
        size_function: exponential
      - end_time: 0
        start_size: 4994
        end_size: 8230
        size_function: exponential