Until 6902.8 generations ago, the A deme's population was fixed at 2127. From 6902.8 to 3638.217, it underwent a exponential growth to 7996 individuals. Then, a linear change brought the count to 5391 by 621.0. Since then, from 621.0 generations to the current day, the population has changed from 5391 to 1498 at a linear rate.
time_units: generations
demes:
  - name: A
    start_time: .inf
    epochs:
      - start_size: 2127
        end_time: 6902.8
      - start_size: 2127
        end_size: 7996
        end_time: 3638.217
        size_function: exponential
      - start_size: 7996
        end_time: 621.0
        end_size: 5391
        size_function: linear
      - end_time: 0
        start_size: 5391
        end_size: 1498
        size_function: linear