摘要 |
Systems and techniques, including computer program products, for generating sequences of program items. A specification of a sequence is received. A specification of multiple sets, where each set includes one or more program items, is also received. An output sequence of program items is generated by selecting program items from the sets based on the specified sequence. In some implementations, program items are selected by assigning each program item a score, and identifying the program item with the best score. An attribute can be associated with each program item. The attributes can be used to group the program items into sets, to determine the scores of the program items, and to select program items to be placed in the generated output sequence. The rules and the set sequence can be adjusted dynamically, and the generated output sequence can be modified by adding, removing, or replacing program items. |