Next: Tuning, Previous: Connections Database, Up: Patterns
Here are the public functions in connections.c.
static void cut_connect_callback(int m, int n, int color,
struct pattern *pattern, int ll, void *data)
Try to match all (permutations of) connection patterns at (m,n)
.
For each match, if it is a B pattern, set cutting point in worm
data structure and make eye space marginal for the connection
inhibiting entries of the pattern. If it is a `C' pattern, amalgamate
the dragons in the pattern.
void find_cuts(void)
Find cutting points which should inhibit amalgamations and sever
the adjacent eye space. This goes through the connection database
consulting only patterns of type B. When such a function is found,
the function cut_connect_callback
is invoked.
void find_connections(void)
Find explicit connection patterns and amalgamate the involved dragons.
This goes through the connection database consulting patterns except those of
type B, E or e. When such a function is found, the function
cut_connect_callback
is invoked.
Find explicit connection patterns and amalgamate the involved dragons.
This goes through the connection database consulting only patterns
of type E (see Connections Database). When such a function is found, the
function cut_connect_callback
is invoked.
Find explicit connection patterns and amalgamate the involved dragons.
This goes through the connection database consulting only patterns
of type e (see Connections Database). When such a function is found, the
function cut_connect_callback
is invoked.