The W deme had a size of 5251 until 6920.85 generations ago. From 6920.85 generations to time 4259.666, its size reduced linearly to 2550 individuals. After that, until 3797.8072, the population had a exponential change to 4991 individuals. It then decreased from 4991 to 3001, starting 3797.8072 generations ago, until current times, at a linear rate.
time_units: generations
demes:
  - name: W
    start_time: .inf
    epochs:
      - start_size: 5251
        end_time: 6920.85
      - start_size: 5251
        end_size: 2550
        end_time: 4259.666
        size_function: linear
      - start_size: 2550
        end_time: 3797.8072
        end_size: 4991
        size_function: exponential
      - end_time: 0
        start_size: 4991
        end_size: 3001
        size_function: linear