For the Q deme, the population size remained at 4103 until 5800.0 generations ago, at which point a exponential change took place until 3584.19 generations for size 2671. Afterward, the population saw an linear increase to 7166 by 2487.4725. From 2487.4725 generations ago to today, there's been a linear increase from 7166 to 9361.
time_units: generations
demes:
  - name: Q
    start_time: .inf
    epochs:
      - start_size: 4103
        end_time: 5800.0
      - start_size: 4103
        end_size: 2671
        end_time: 3584.19
        size_function: exponential
      - start_size: 2671
        end_time: 2487.4725
        end_size: 7166
        size_function: linear
      - end_time: 0
        start_size: 7166
        end_size: 9361
        size_function: linear