Exact robot navigation using cost functions: the case of distinct spherical boundaries in E/sup n/ | Synapse