![]() ![]() | ![]() |
Initial revision
1: #define ALL_MIX 1 2: #define IMMOBILE 2 3: #define ALL_FIXED 3 4: #define FIRST_FIXED 4 5: #define BOTH_FIXED 5 6: #define LAST_FIXED 6 7: #define SINGLE 7 8: #define RANGE 8 9: 10: typedef struct _RandGroup { 11: int type; 12: int *list; 13: int length; 14: } RandGroup_t; 15: 16: typedef struct _RandQO { 17: int num; 18: RandGroup_t **groups; 19: int *used; 20: int length; 21: int lengthg; 22: } RandQO_t; 23: 24: 25: void rqo_finish(); 26: void rqo_1spec(); 27: void rqo_2spec(); 28: void start_rqo_type(int type); 29: void append_rqo(Symbol*s); 30: void prefix_rqo(Symbol*s); 31: