The deme of K kept its population at 2031 until 7410.0 generations ago, when a exponential increase ensued until 2591.423, to size 5418. Subsequently, a exponential change changed the numbers to 115 individuals by 674.8. Starting from 674.8, the population has seen a change from 115 to 8824 at a linear pace, continuing to this day.
time_units: generations
demes:
  - name: K
    start_time: .inf
    epochs:
      - start_size: 2031
        end_time: 7410.0
      - start_size: 2031
        end_size: 5418
        end_time: 2591.423
        size_function: exponential
      - start_size: 5418
        end_time: 674.8
        end_size: 115
        size_function: exponential
      - end_time: 0
        start_size: 115
        end_size: 8824
        size_function: linear