|
Métodos de Busca no Pacman
|
Public Member Functions | |
| def | __init__ (self, priorityFunction) |
| def | push (self, item) |
Public Member Functions inherited from util.PriorityQueue | |
| def | __init__ (self) |
| def | push (self, item, priority) |
| def | pop (self) |
| def | isEmpty (self) |
Public Attributes | |
| priorityFunction | |
Public Attributes inherited from util.PriorityQueue | |
| heap | |
Implements a priority queue with the same push/pop signature of the Queue and the Stack classes. This is designed for drop-in replacement for those two classes. The caller has to provide a priority function, which extracts each item's priority.
1.8.13