public abstract class LevelBasedGraph
extends java.lang.Object
修飾子 | コンストラクタと説明 |
---|---|
protected |
LevelBasedGraph(int levelCount,
int p_i51298_2_,
int p_i51298_3_) |
修飾子とタイプ | メソッドと説明 |
---|---|
protected void |
cancelUpdate(long positionIn) |
protected abstract int |
computeLevel(long pos,
long excludedSourcePos,
int level)
Computes level propagated from neighbors of specified position with given existing level, excluding the given
source position.
|
void |
func_227465_a_(java.util.function.LongPredicate p_227465_1_) |
int |
func_227467_c_() |
protected abstract int |
getEdgeLevel(long startPos,
long endPos,
int startLevel)
Returns level propagated from start position with specified level to the neighboring end position.
|
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)
public void func_227465_a_(java.util.function.LongPredicate p_227465_1_)
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)
public int func_227467_c_()
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()