public abstract class LevelBasedGraph
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
LevelBasedGraph(int levelCount,
int p_i51298_2_,
int p_i51298_3_) |
Modifier and Type | Method and Description |
---|---|
void |
bulkCancel(java.util.function.LongPredicate pred) |
protected void |
cancelUpdate(long positionIn) |
protected abstract int |
computeLevel(long pos,
long excludedSourcePos,
int level) |
protected abstract int |
getEdgeLevel(long startPos,
long endPos,
int startLevel) |
protected abstract int |
getLevel(long sectionPosIn) |
protected abstract boolean |
isRoot(long pos) |
protected boolean |
needsUpdate() |
protected abstract void |
notifyNeighbors(long pos,
int level,
boolean isDecreasing) |
protected int |
processUpdates(int toUpdateCount) |
protected void |
propagateLevel(long fromPos,
long toPos,
int sourceLevel,
boolean isDecreasing) |
protected int |
queuedUpdateSize() |
protected void |
scheduleUpdate(long worldPos) |
protected void |
scheduleUpdate(long fromPos,
long toPos,
int newLevel,
boolean isDecreasing) |
protected abstract void |
setLevel(long sectionPosIn,
int level) |
protected LevelBasedGraph(int levelCount, int p_i51298_2_, int p_i51298_3_)
protected void cancelUpdate(long positionIn)
protected void scheduleUpdate(long worldPos)
protected void scheduleUpdate(long fromPos, long toPos, int newLevel, boolean isDecreasing)
protected final void propagateLevel(long fromPos, long toPos, int sourceLevel, boolean isDecreasing)
protected final boolean needsUpdate()
protected final int processUpdates(int toUpdateCount)
protected abstract boolean isRoot(long pos)
protected abstract int computeLevel(long pos, long excludedSourcePos, int level)
protected abstract void notifyNeighbors(long pos, int level, boolean isDecreasing)
protected abstract int getLevel(long sectionPosIn)
protected abstract void setLevel(long sectionPosIn, int level)
protected abstract int getEdgeLevel(long startPos, long endPos, int startLevel)
protected int queuedUpdateSize()
public final void bulkCancel(java.util.function.LongPredicate pred)