The K deme held its population size constant at 6142 until 8434.348 generations ago, then experienced a linear change up to 1255 individuals by time 1860.0. This was followed by an exponential change, resulting in 9668 individuals by 1813.5. From 1813.5 generations onward to the present, the population has been on a linear change from 9668 to 6160.
time_units: generations
demes:
  - name: K
    start_time: .inf
    epochs:
      - start_size: 6142
        end_time: 8434.348
      - start_size: 6142
        end_size: 1255
        end_time: 1860.0
        size_function: linear
      - start_size: 1255
        end_time: 1813.5
        end_size: 9668
        size_function: exponential
      - end_time: 0
        start_size: 9668
        end_size: 6160
        size_function: linear