A developer is using Picat's planner module to find a path in a maze. There are multiple paths from the start to the goal, with costs of 12, 15, and 18. The developer uses the call `plan(StartState, 20, Plan, Cost)`. Which of the following outcomes is guaranteed?
-
A
The planner will find one of the valid paths, but not necessarily the one with the cost of 12.
-
B
The planner will fail because an optimal plan was not explicitly requested.
-
C
The planner will deterministically find the path with the cost of 12.
-
D
The planner will find all possible paths with a cost less than or equal to 20.