Up until 4706.75 generations ago, the population of P deme was constant at 3468. It then entered a linear phase of increase until 3875.4 generations, reaching size 8875. This was succeeded by an exponential phase of change, leading to 2524 by 3755.2. From 3755.2 generations to present, the population has changed from 2524 to 6741 exponentially.
time_units: generations
demes:
  - name: P
    start_time: .inf
    epochs:
      - start_size: 3468
        end_time: 4706.75
      - start_size: 3468
        end_size: 8875
        end_time: 3875.4
        size_function: linear
      - start_size: 8875
        end_time: 3755.2
        end_size: 2524
        size_function: exponential
      - end_time: 0
        start_size: 2524
        end_size: 6741
        size_function: exponential