Package planning
Class DijkstraPlanner
- java.lang.Object
-
- planning.DijkstraPlanner
-
-
Constructor Summary
Constructors Constructor Description DijkstraPlanner(java.util.Map<Variable,java.lang.Object> initialState, java.util.Set<Action> actions, Goal goal)Constructeur par défaut.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<Action>getActions()Retourne un ensemble d'actions pouvant être effectuées.GoalgetGoal()Récupère le but attendu.java.util.Map<Variable,java.lang.Object>getInitialState()Récupère l'état initial du planificateur.intgetNumOfExploredNodes()Récupère le nombre de noeuds explorés.java.util.List<Action>plan()Planifie une liste d'actions (chemin) à emprunter pour aller de l'état initial à l'état but.java.lang.StringtoString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getInitialState
public java.util.Map<Variable,java.lang.Object> getInitialState()
Description copied from interface:PlannerRécupère l'état initial du planificateur.- Specified by:
getInitialStatein interfacePlanner- Returns:
- état initial du planificateur
-
getActions
public java.util.Set<Action> getActions()
Description copied from interface:PlannerRetourne un ensemble d'actions pouvant être effectuées.- Specified by:
getActionsin interfacePlanner- Returns:
- ensemble d'actions pouvant être effectuées
-
getNumOfExploredNodes
public int getNumOfExploredNodes()
Description copied from interface:PlannerRécupère le nombre de noeuds explorés.- Specified by:
getNumOfExploredNodesin interfacePlanner- Returns:
- nombre de noeuds explorés
-
-