#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
#include <ctype.h>
#include <fcntl.h>
#include <malloc.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "assert.h"
#include "heuristic.h"
#include "score4.h"
Functions | |
| static int | _add_word2 (W_ENTRY *word, int index) |
| Add an entry to w_table2_1[]. | |
| static short | _nextbit (short plain, int offset) |
| Shift the next (from postion offset) on bit to the right most postion. | |
| static int | _rotate (int iplain) |
| Rotate a plain 90 degrees. | |
| void | w_init_1 (void) |
| Initialize the trap table. | |
Variables | |
| W_ENTRY | w_table1_1 [LEN_WTABLE] |
| One move away from a trap. | |
| W_ENTRY | w_table2_1 [LEN_WTABLE *4] |
| Two moves away from a trap. | |
|
|
Rotate a plain 90 degrees.
|
1.4.5