The K deme had a size of 3100 until 3143.732 generations ago. From 3143.732 generations to time 2262.0, its size changed linearly to 2425 individuals. After that, until 1701.1119, the population had a exponential change to 1606 individuals. It then grew from 1606 to 3702, starting 1701.1119 generations ago, until current times, at a exponential rate.
time_units: generations
demes:
  - name: K
    start_time: .inf
    epochs:
      - start_size: 3100
        end_time: 3143.732
      - start_size: 3100
        end_size: 2425
        end_time: 2262.0
        size_function: linear
      - start_size: 2425
        end_time: 1701.1119
        end_size: 1606
        size_function: exponential
      - end_time: 0
        start_size: 1606
        end_size: 3702
        size_function: exponential