The deme of K kept its population at 2802 until 7954.54 generations ago, when a exponential reduction ensued until 4820.4, to size 1937. Subsequently, a linear growth changed the numbers to 8828 individuals by 3045.1. Starting from 3045.1, the population has seen a reduction from 8828 to 3079 at a exponential pace, continuing to this day.
time_units: generations
demes:
  - name: K
    start_time: .inf
    epochs:
      - start_size: 2802
        end_time: 7954.54
      - start_size: 2802
        end_size: 1937
        end_time: 4820.4
        size_function: exponential
      - start_size: 1937
        end_time: 3045.1
        end_size: 8828
        size_function: linear
      - end_time: 0
        start_size: 8828
        end_size: 3079
        size_function: exponential