The P deme had a size of 7082 until 9925.8 generations ago. From 9925.8 generations to time 9188.0, its size changed linearly to 6834 individuals. After that, until 5049.0, the population had a exponential change to 1194 individuals. It then changed from 1194 to 9767, starting 5049.0 generations ago, until current times, at a linear rate.
time_units: generations
demes:
  - name: P
    start_time: .inf
    epochs:
      - start_size: 7082
        end_time: 9925.8
      - start_size: 7082
        end_size: 6834
        end_time: 9188.0
        size_function: linear
      - start_size: 6834
        end_time: 5049.0
        end_size: 1194
        size_function: exponential
      - end_time: 0
        start_size: 1194
        end_size: 9767
        size_function: linear