| Package | Description |
|---|---|
| graph.elements.impl |
Classes which implement edge and vertex interfaces in case they are needed to
invoke any of the algorithms.
|
| Modifier and Type | Method and Description |
|---|---|
GraphVertex |
GraphEdge.getDestination() |
GraphVertex |
GraphEdge.getOrigin() |
| Modifier and Type | Method and Description |
|---|---|
void |
GraphEdge.setDestination(GraphVertex destination) |
void |
GraphEdge.setOrigin(GraphVertex origin) |
| Constructor and Description |
|---|
GraphEdge(GraphVertex origin,
GraphVertex destination)
Creates an edge with the specified origin and destination vertices
|
GraphEdge(GraphVertex origin,
GraphVertex destination,
int weight)
Creates an edge with the specified origin vertex, destination vertex and weight
|