Algorithm 2.
Input: Target rate PRt, biased acceptance rate |
Output: Transition probabilities |
1: if then |
2: ℙ(ȳ = 1|y = 1, s = i)←1 |
3: else |
4: |
5: end if |
6: if j=0 then |
7: ℙ(ȳ = 0|y = 1, s = i)←1−ℙ(ȳ = 1|y = 1, s = i) |
8: |
9: else if j=1 then |
10: |
11: end if |