Up until 4770.2733 generations ago, the population of B deme was constant at 4674. It then entered a exponential phase of change until 4729.4986 generations, reaching size 856. This was succeeded by an exponential phase of growth, leading to 2490 by 2596.0. From 2596.0 generations to present, the population has changed from 2490 to 5838 linearly.
time_units: generations
demes:
  - name: B
    start_time: .inf
    epochs:
      - start_size: 4674
        end_time: 4770.2733
      - start_size: 4674
        end_size: 856
        end_time: 4729.4986
        size_function: exponential
      - start_size: 856
        end_time: 2596.0
        end_size: 2490
        size_function: exponential
      - end_time: 0
        start_size: 2490
        end_size: 5838
        size_function: linear