Initially, the Z deme maintained a population of 5611 until 8110.917 generations ago. From 8110.917 to 4518.0, its size increased linearly to population size 7877. A linear decrease ensued, culminating in 1463 individuals by 735.312. Starting from 735.312 generations ago, the population has changed from 1463 to 4908, at a linear rate.
time_units: generations
demes:
  - name: Z
    start_time: .inf
    epochs:
      - start_size: 5611
        end_time: 8110.917
      - start_size: 5611
        end_size: 7877
        end_time: 4518.0
        size_function: linear
      - start_size: 7877
        end_time: 735.312
        end_size: 1463
        size_function: linear
      - end_time: 0
        start_size: 1463
        end_size: 4908
        size_function: linear