¡GoConqr estrena diseño! Cuéntanos qué te parece.

Mapa mental

Priority Queue

Ian Arbuckle Inglés

Contenido del mapa

Priority Queue

  1. Principle

    • Set key as priority for high or low
    • Insert based on the key priority
    • Remove based on the priority key value at the front of queue
    • First out on priority key value
  2. Add Method

    • int index; PQElement elem = new PQElement(priorkey,item);
    • if (index > size()) thePQueue.add(elem); else thePQueue.add(index, elem);
  3. Remove

    • public Object dequeue() { return thePQueue.remove(0); }
  4. FindElement

  5. Size

    • return PQueue.size();
  6. isEmpty

    • return PQueue.isEmpty();

Información

Descripción
Mapa Mental sobre Priority Queue, creado por Ian Arbuckle el 07/01/2015.
Creado por
Ian Arbuckle
Visitas
1
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?