Classification of Discrete Dynamical Systems Based on Transients