public abstract class ChunkDistanceGraph extends LevelBasedGraph
Modifier | Constructor and Description |
---|---|
protected |
ChunkDistanceGraph(int p_i50712_1_,
int p_i50712_2_,
int p_i50712_3_) |
Modifier and Type | Method and Description |
---|---|
protected int |
computeLevel(long pos,
long excludedSourcePos,
int level) |
protected int |
getEdgeLevel(long startPos,
long endPos,
int startLevel) |
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
in class LevelBasedGraph
protected void notifyNeighbors(long pos, int level, boolean isDecreasing)
notifyNeighbors
in class LevelBasedGraph
protected int computeLevel(long pos, long excludedSourcePos, int level)
computeLevel
in class LevelBasedGraph
protected int getEdgeLevel(long startPos, long endPos, int startLevel)
getEdgeLevel
in class LevelBasedGraph
protected abstract int getSourceLevel(long pos)
public void updateSourceLevel(long pos, int level, boolean isDecreasing)