Initially, the Z deme maintained a population of 3148 until 9542.879 generations ago. From 9542.879 to 7941.8, its size decreased exponentially to population size 2408. A linear increase ensued, culminating in 8946 individuals by 4412.0. Starting from 4412.0 generations ago, the population has changed from 8946 to 2094, at a linear rate.
time_units: generations
demes:
  - name: Z
    start_time: .inf
    epochs:
      - start_size: 3148
        end_time: 9542.879
      - start_size: 3148
        end_size: 2408
        end_time: 7941.8
        size_function: exponential
      - start_size: 2408
        end_time: 4412.0
        end_size: 8946
        size_function: linear
      - end_time: 0
        start_size: 8946
        end_size: 2094
        size_function: linear