Up until 9994.9 generations ago, the population of K deme was constant at 4575. It then entered a exponential phase of decrease until 8751.52 generations, reaching size 4112. This was succeeded by an linear phase of change, leading to 9405 by 5362.0. From 5362.0 generations to present, the population has grew from 9405 to 9829 exponentially.
time_units: generations
demes:
  - name: K
    start_time: .inf
    epochs:
      - start_size: 4575
        end_time: 9994.9
      - start_size: 4575
        end_size: 4112
        end_time: 8751.52
        size_function: exponential
      - start_size: 4112
        end_time: 5362.0
        end_size: 9405
        size_function: linear
      - end_time: 0
        start_size: 9405
        end_size: 9829
        size_function: exponential