Input: and κmin
|
1: , where vj is a vector of 1s with length βmax
|
2: i ← −1 |
3: repeat
|
4: i ← i + 1 |
5: while running core sdwSSA with do
|
6: mark the trajectories evolving farthest in the direction of E
|
7: record min(πj) and max(πj) |
8: endwhile
|
9: at most states closest to E reached by the marked trajectories (one per trajectory) |
10:
|
11: while running core sdwSSA with do
|
12: record the number of firings among βmax bins for each reaction |
13: store information of trajectories that reach
|
14: endwhile
|
15: forj = 1 → Mdo
|
16: merge bins until every bin contains greater than κmin reaction firings |
17: update according to the result from step 16 |
18: endfor
|
19: result of Eq. 14 evaluated using and trajectories from step 13 |
20: until
|
21: return and c
|