public class Planner extends Object
Constructor and Description |
---|
Planner()
Creates a new instance of the Planner
|
Modifier and Type | Method and Description |
---|---|
List<Plan> |
generatePlans()
Generates a set of plans (sequence of actions) that will achieve the goal state
WARNING: If no solution is possible, this method will not terminate!
|
void |
initialize(Literal[] S,
Action[] A,
Literal[] S0,
Literal[] G)
Initializes the Planner object
|
static void |
main(String[] args)
For testing only
|
public void initialize(Literal[] S, Action[] A, Literal[] S0, Literal[] G)
S
- the set of available world state valuesA
- the set of available actionsS0
- the set of world state that are true at time 0G
- the set of world state variables that must be true to achieve the goalpublic List<Plan> generatePlans()
public static void main(String[] args)
args
-