public static final class NodeWorkList.IterativeNodeWorkList extends NodeWorkList
NodeWorkList.IterativeNodeWorkList, NodeWorkList.SingletonNodeWorkList
Modifier and Type | Field and Description |
---|---|
private static int |
EXPLICIT_BITMAP_THRESHOLD |
private Node |
firstNoChange |
protected NodeBitMap |
inQueue |
private int |
iterationLimit |
private Node |
lastChain |
private Node |
lastPull |
worklist
Constructor and Description |
---|
IterativeNodeWorkList(Graph graph,
boolean fill,
int iterationLimitPerNode) |
Modifier and Type | Method and Description |
---|---|
void |
add(Node node) |
private boolean |
checkInfiniteWork(Node node) |
boolean |
contains(Node node) |
private void |
inflateToBitMap(Graph graph) |
Iterator<Node> |
iterator() |
addAll
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
private static final int EXPLICIT_BITMAP_THRESHOLD
protected NodeBitMap inQueue
private int iterationLimit
private Node firstNoChange
public IterativeNodeWorkList(Graph graph, boolean fill, int iterationLimitPerNode)
public void add(Node node)
add
in class NodeWorkList
public boolean contains(Node node)
contains
in class NodeWorkList
private boolean checkInfiniteWork(Node node)
private void inflateToBitMap(Graph graph)