Distance Learning in Agent-Centered Heuristic Search