The K deme had a size of 1636 until 6060.151 generations ago. From 6060.151 generations to time 5490.0, its size changed exponentially to 6508 individuals. After that, until 2175.23, the population had a linear change to 9619 individuals. It then reduced from 9619 to 4925, starting 2175.23 generations ago, until current times, at a linear rate.
time_units: generations
demes:
  - name: K
    start_time: .inf
    epochs:
      - start_size: 1636
        end_time: 6060.151
      - start_size: 1636
        end_size: 6508
        end_time: 5490.0
        size_function: exponential
      - start_size: 6508
        end_time: 2175.23
        end_size: 9619
        size_function: linear
      - end_time: 0
        start_size: 9619
        end_size: 4925
        size_function: linear