A weighted constraint satisfaction approach to human goal-directed decision making