Data Mining Applied to Agent Based Simulation