Optimizing Entanglement Generation and Distribution Using Genetic Algorithms Data