A macro-operator in CA-ED is formally equivalent to a normal operator: it has a set of variables , a set of preconditions , a set of add effects , and a set of delete effects . Figure 6 shows an example of a macro in Depots. Figure 7 shows complete STRIPS definitions for this macro and the operators that it contains.
Macro operators are obtained in two steps, which are presented in detail in the remaining part of this section. First, an extended set of macros is built and next the macros are filtered in a quick training process. Since empirical evidence indicates that the extra information added to a domain definition should be quite small, the methods described next tend to minimize the number of macros and their size, measured by the number of variables, preconditions and effects. Static macro generation uses many constraints for pruning the space of macro operators, and discards large macros. Finally, dynamic filtering keeps only a few top performing macros for solving future problems.