The P deme held its population size constant at 3054 until 9296.2 generations ago, then experienced a linear change up to 5755 individuals by time 8422.9328. This was followed by an linear decrease, resulting in 589 individuals by 5009.212. From 5009.212 generations onward to the present, the population has been on a exponential change from 589 to 581.
time_units: generations
demes:
  - name: P
    start_time: .inf
    epochs:
      - start_size: 3054
        end_time: 9296.2
      - start_size: 3054
        end_size: 5755
        end_time: 8422.9328
        size_function: linear
      - start_size: 5755
        end_time: 5009.212
        end_size: 589
        size_function: linear
      - end_time: 0
        start_size: 589
        end_size: 581
        size_function: exponential