public abstract class ChunkDistanceGraph extends LevelBasedGraph
修飾子 | コンストラクタと説明 |
---|---|
protected |
ChunkDistanceGraph(int p_i50712_1_,
int p_i50712_2_,
int p_i50712_3_) |
修飾子とタイプ | メソッドと説明 |
---|---|
protected 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.
|
protected 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 |
getSourceLevel(long pos) |
protected boolean |
isRoot(long pos) |
protected void |
notifyNeighbors(long pos,
int level,
boolean isDecreasing) |
void |
updateSourceLevel(long pos,
int level,
boolean isDecreasing) |
cancelUpdate, func_227465_a_, func_227467_c_, getLevel, needsUpdate, processUpdates, propagateLevel, queuedUpdateSize, scheduleUpdate, scheduleUpdate, setLevel
protected ChunkDistanceGraph(int p_i50712_1_, int p_i50712_2_, int p_i50712_3_)
protected boolean isRoot(long pos)
isRoot
クラス内 LevelBasedGraph
protected void notifyNeighbors(long pos, int level, boolean isDecreasing)
notifyNeighbors
クラス内 LevelBasedGraph
protected int computeLevel(long pos, long excludedSourcePos, int level)
computeLevel
クラス内 LevelBasedGraph
protected int getEdgeLevel(long startPos, long endPos, int startLevel)
getEdgeLevel
クラス内 LevelBasedGraph
protected abstract int getSourceLevel(long pos)
public void updateSourceLevel(long pos, int level, boolean isDecreasing)