A framework for guided motion planning