|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchoco.global.matching.AbstractBipartiteGraph.IntQueue
protected class AbstractBipartiteGraph.IntQueue
Constructor Summary | |
---|---|
AbstractBipartiteGraph.IntQueue(int n)
Constructs a new queue with the specified maximal number of values. |
Method Summary | |
---|---|
int |
getSize()
|
void |
init()
Initializes the queue. |
boolean |
onceInQueue(int i)
|
int |
pop()
|
void |
push(int val)
Adds a value in the queue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractBipartiteGraph.IntQueue(int n)
n
- Maximal size of the queue.Method Detail |
---|
public int getSize()
public void init()
public void push(int val)
val
- public int pop()
public boolean onceInQueue(int i)
i
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |