Percy
LET @schedule = @schedule SUPPORTED ON @scheduleor symbolically
LET @schedule = @schedule > @schedule
The SUPPORT command reduces the number of intervals in a schedule by
`supporting them on' the intervals in a second schedule. That is, each
interval in the first schedule is retained only if it completely contains one
of the intervals in the second schedule. (An interval [a,b] completely
contains an interval [c,d] if both endpoints of the latter are contained in
the former.)
A graphical description of the SUPPORT command is shown below.
Input schedule : --- --------- -- -- ----- --- Filter schedule : ------- ---- --- -- -------------- Output schedule : --------- --
In the following example, the schedule COMPLETE contains intervals
corresponding to several complete events (for example, stellar occultations).
The schedule CONSTRAINTS contains intervals meeting other (planning or
operational) constraints.
Supporting CONSTRAINTS on COMPLETE yields the collection of constraint intervals during which complete events can be observed.
IMPORT COMPLETE_EVENTS.WIN AS COMPLETE; IMPORT CONSTRAINTS_MET.WIN AS CONSTRAINTS; LET POSSIBLE = CONSTRAINTS > COMPLETE; EXPORT POSSIBLE TO POSSIBLE_EVENTS.WIN;