public interface DistanceVertex extends Vertex
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_DISTANCE
Default distance to which vertices are initialized unless otherwise specified.
|
Modifier and Type | Method and Description |
---|---|
int |
getDistance()
Get the value of the distance field
|
void |
setDistance(int distance)
Set the distance field
|
addAdjacency, adjacencyCount, clearAdjacencies, containsAdjacency, getAdjacencies, getGraph, hasAdjacencies, removeAdjacency, setGraph
static final int DEFAULT_DISTANCE