The X deme had a size of 8836 until 9605.717 generations ago. From 9605.717 generations to time 8303.0, its size decreased linearly to 2874 individuals. After that, until 6545.3432, the population had a linear increase to 3635 individuals. It then increased from 3635 to 6025, starting 6545.3432 generations ago, until current times, at a exponential rate.
time_units: generations
demes:
  - name: X
    start_time: .inf
    epochs:
      - start_size: 8836
        end_time: 9605.717
      - start_size: 8836
        end_size: 2874
        end_time: 8303.0
        size_function: linear
      - start_size: 2874
        end_time: 6545.3432
        end_size: 3635
        size_function: linear
      - end_time: 0
        start_size: 3635
        end_size: 6025
        size_function: exponential