Two types of computer simulation are often distinguished: equation-based simulations and agent-based (or individual-based) simulations. Computer Simulations of both types are used for three different general sorts of purposes: prediction (both pointwise and global/qualitative), understanding, and exploratory or heuristic purposes.