Generation of Geodesics with Actor-Critic Reinforcement Learning to Predict Midpoints (Journal of Machine Learning Research, 2026)