In order to be able to accurately recreate results when using any type of algorithm that employs randomness in some fashion, seeding your random number generator and saving the seed is extremely important.