Initially, the S deme maintained a population of 4575 until 8892.5895 generations ago. From 8892.5895 to 6865.906, its size increased linearly to population size 5252. A linear reduction ensued, culminating in 5096 individuals by 3812.85. Starting from 3812.85 generations ago, the population has changed from 5096 to 2115, at a exponential rate.
time_units: generations
demes:
  - name: S
    start_time: .inf
    epochs:
      - start_size: 4575
        end_time: 8892.5895
      - start_size: 4575
        end_size: 5252
        end_time: 6865.906
        size_function: linear
      - start_size: 5252
        end_time: 3812.85
        end_size: 5096
        size_function: linear
      - end_time: 0
        start_size: 5096
        end_size: 2115
        size_function: exponential