49   if(w%4 != 0 || h%4 != 0)
return; 
    51   for(
int i=0; i<h; i+=4)
    52     for(
int j=0; j<w; j+=4){
    57       v[2] = v[1] + 2*w + 1;
    64       v[2] = v[1] + 2*w - 1;
    70       v[1] = v[0] + 2*w + 1;
    72       v[3] = v[2] - 2*w - 1;
    77       v[1] = v[0] + 2*w - 1;
    79       v[3] = v[2] - 2*w + 1;
 int GetHeight()
Get height.
 
Header for the four-cover tourney generator CFourCover.
 
void Generate(CBoard &b)
Generate a four-cover tourney.
 
void Generate4Cycle(CBoard &b, int v[4])
Generate a 4-cycle.
 
bool InsertUndirectedMove(int src, int dest)
Insert an undirected move.