public interface WeightedVertex extends Vertex
| Modifier and Type | Field and Description |
|---|---|
static double |
DEFAULT_WEIGHT
Default vertex weight.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getWeight()
Retrieve a vertex's weight.
|
void |
setWeight(double weight)
Set vertex weight to the specified value.
|
addAdjacency, adjacencyCount, clearAdjacencies, containsAdjacency, getAdjacencies, getGraph, hasAdjacencies, removeAdjacency, setGraphstatic final double DEFAULT_WEIGHT