"Generalized Agent Model (GAM)" is a new, generalized (machine) learning algorithm. "Generalized Agent Model and Computer Simulation (GAMCS)" is a whole description and implementation of GAM using computer.