In path planning, we do not have any information about the motion of the robot with respect to time (i.e., do not confuse path planning with trajectory planning). So the only cost functions that I can think of is the shortest path, smooth path, or obstacle-free path. Can you suggest any other cost function?