Est la gourmande meilleur premier algorithme de recherche différente de la première algorithme de recherche?

Est le gourmand meilleur premier algorithme de recherche différente de la première algorithme de recherche?

La page wiki a un paragraphe distinct sur Gourmand BFS mais c'est un peu moins clair.

Ma compréhension est que la Goulue BFS est juste BFS où le "nœud meilleur de l'ouverture" dans la page wikipedia de l'algorithme est une fonction heuristique on calcule pour un nœud. Donc, la mise en œuvre de cette:

OPEN = [initial state]
CLOSED = []
while OPEN is not empty
do
 1. Remove the best node from OPEN, call it n, add it to CLOSED.
 2. If n is the goal state, backtrace path to n (through recorded parents) and return path.
 3. Create n's successors.
 4. For each successor do:
   a. If it is not in CLOSED: evaluate it, add it to OPEN, and record its parent.
   b. Otherwise: change recorded parent if this new path is better than previous one.
done

avec "le meilleur nœud d'OUVRIR un" heuristique de la fonction de l'estimation de la proximité du nœud est de l'objectif, est en fait Gourmand BFS. Suis-je le droit?

EDIT: Commentaire sur Anonymouse réponse:

Donc, essentiellement, une gourmande BFS n'a pas besoin d'une "liste OUVERTE" et doit fonder ses décisions que sur le nœud actuel? Est cet algorithme GBFS:

1. Set START as CURRENT node
2. Add CURRENT to Path [and optinally, to CLOSED?]
3. If CURRENT is GOAL, exit
4. Evaluate CURRENT's successors
5. Set BEST successor as CURRENT and go to 2.
InformationsquelleAutor Alex | 2011-12-04