Reinforcement Learning-Based Collision Avoidance and Optimal Trajectory Planning in UAV Communication Networks | Synapse