Functions | |
int | count_neighbors (int x, int y) |
get the neighbors of this cell | |
void | randomize_matrix () |
generate cells for new colony | |
void | restart_simulation () |
reset history, generation_index and increment restart_index, generate new colony. | |
int | main (int argc, char **argv) |
int count_neighbors | ( | int | x, |
int | y | ||
) |
get the neighbors of this cell
int main | ( | int | argc, |
char ** | argv | ||
) |
void randomize_matrix | ( | ) |
generate cells for new colony
void restart_simulation | ( | ) |
reset history, generation_index and increment restart_index, generate new colony.