| 200 | Compute the mean value of all maps from STRDS A that are located during time intervals of STRDS B if more than one map of A is contained in an interval of B, use A otherwise, the resulting time intervals are computed as temporal union and stored in C: |
| 201 | {{{ |
| 202 | C = if(B {contain,#} A > 1, (B {contain, =+} A - B) / (B {contain,#} A), A) |
| 203 | }}} |
| 204 | Same expression with explicit definition of the temporal topology relation and temporal operators: |
| 205 | {{{ |
| 206 | C = if(equal, B {contain,#} A > 1, (B {contain, =+} A {equal, =-} B) {equal,=/} (B {contain,#} A), A) |
| 207 | }}} |