choco.cp.solver.constraints.global.tree.filtering.structuralFiltering.globalCardConstraint
Class AbstractBipartGraph.IntQueue

java.lang.Object
  extended by choco.cp.solver.constraints.global.tree.filtering.structuralFiltering.globalCardConstraint.AbstractBipartGraph.IntQueue
Enclosing class:
AbstractBipartGraph

protected static class AbstractBipartGraph.IntQueue
extends Object


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
 

Method Detail

getSize

public int getSize()
Returns:
the size of the queue.

init

public void init()
Initializes the queue.


push

public void push(int val)
Adds a value in the queue

Parameters:
val -

pop

public int pop()
Returns:
the older value in the queue

onceInQueue

public boolean onceInQueue(int i)
Parameters:
i -
Returns:
true if i is in the queue


Copyright © 2012. All Rights Reserved.