|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sat4j.minisat.core.IntQueue
public final class IntQueue
Implementation of a queue. Formerly used in the solver to maintain unit literals for unit propagation. No longer used currently.
Constructor Summary | |
---|---|
IntQueue()
|
Method Summary | |
---|---|
void |
clear()
Vide la queue |
int |
dequeue()
returns the nexdt element in the queue. |
void |
ensure(int nsize)
Utilisee pour accroitre dynamiquement la taille de la queue. |
void |
insert(int x)
Add an element to the queue. |
int |
size()
Pour connaitre la taille de la queue. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IntQueue()
Method Detail |
---|
public void insert(int x)
x
- the element to addpublic int dequeue()
public void clear()
public int size()
public void ensure(int nsize)
nsize
- la taille maximale de la queuepublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |