Until 6892.987 generations ago, the X deme's population was fixed at 8877. From 6892.987 to 2216.7172, it underwent a linear reduction to 7654 individuals. Then, a linear change brought the count to 3745 by 400.1314. Since then, from 400.1314 generations to the current day, the population has decreased from 3745 to 2047 at a exponential rate.
time_units: generations
demes:
  - name: X
    start_time: .inf
    epochs:
      - start_size: 8877
        end_time: 6892.987
      - start_size: 8877
        end_size: 7654
        end_time: 2216.7172
        size_function: linear
      - start_size: 7654
        end_time: 400.1314
        end_size: 3745
        size_function: linear
      - end_time: 0
        start_size: 3745
        end_size: 2047
        size_function: exponential