Algorithm 2 Determining the numerical solution of piecewise SEIUR model |
at time for
|
where is the start point of period and
|
|
Input: |
The initial value of variables: , , , and ; |
The optimal parameters for each period : , , and ; |
Total population of the United States: ; |
The number of iterations or days: ; |
Output |
, , and at all time
|
|
Procedure |
For in to
|
For in to
|
|
|
|
|
|
Return, , , and
|