|
Algorithm 1. Grid Based Greedy Gait Segmentation Algorithm * |
| 1 |
Input: , , // is the termination criteria for the iteration |
| 2 |
Initialize: , , , for
|
| 3 |
Do:// equally spaced grid optimization by iteration |
| 4 |
,
), |
| 5 |
For
Do: |
| 6 |
, |
| 7 |
= GreedySearch1(, ), |
| 8 |
End For |
| 9 |
, |
| 10 |
, |
| 11 |
While:
|
| 12 |
), |
| 13 |
For
Do: //locally optimized without the equally spaced constraint |
| 14 |
, |
| 15 |
= GreedySearch2(, ), |
| 16 |
End For |
| 17 |
Output:
|
| * Symbols in Algorithm 1 are described in the context of Section 3.1. |