O GoConqr está de visual novo! Conte para nós o que você achou.

Mapa mental

Priority Queue

Ian Arbuckle Inglês

Conteúdo do 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();

Informações

Descrição
Mapa Mental sobre Priority Queue, criado por Ian Arbuckle em 07-01-2015.
Criado por
Ian Arbuckle
Visualizações
1
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?