Efficient and reconfigurable approximate value functions for task scheduling, path planning, and control