| Algorithm 2 GetPFS (OD, DD, FS, old, new) | |
| Input: OD, DD, FS, old, new | |
| Output: PFS | |
| 1: | Put FS into PFS |
| 2: | Set |
| 3: | Putinto PFS |
| 4: | Forin PFS |
| 5: | Construct projection database of DD to the part of that belongs to OD |
| 6: | Set |
| 7: | Put into PFS |
| Algorithm 2 GetPFS (OD, DD, FS, old, new) | |
| Input: OD, DD, FS, old, new | |
| Output: PFS | |
| 1: | Put FS into PFS |
| 2: | Set |
| 3: | Putinto PFS |
| 4: | Forin PFS |
| 5: | Construct projection database of DD to the part of that belongs to OD |
| 6: | Set |
| 7: | Put into PFS |