Up to 9613.0 generations ago, the population of the Y deme was steady at 5830. It then entered a phase of exponential change until 6233.6 generations and size 8518. Following this, there was a linear change to 9798 individuals, lasting until 5711.9249. Since 5711.9249 generations ago, the population has changed from 9798 to 7214 at a linear pace.
time_units: generations
demes:
  - name: Y
    start_time: .inf
    epochs:
      - start_size: 5830
        end_time: 9613.0
      - start_size: 5830
        end_size: 8518
        end_time: 6233.6
        size_function: exponential
      - start_size: 8518
        end_time: 5711.9249
        end_size: 9798
        size_function: linear
      - end_time: 0
        start_size: 9798
        end_size: 7214
        size_function: linear