public interface VisitedVertex extends Vertex
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_DISCOVERY_TIME
Default discovery time to which vertices are initialized unless otherwise specified.
|
static int |
DEFAULT_FINISH_TIME
Default finish time to which vertices are initialized unless otherwise specified.
|
static int |
FIRST_DISCOVERY_TIME
The discovery time shown for the vertex first visited in the search
|
Modifier and Type | Method and Description |
---|---|
int |
getDiscoveryTime()
Get the vertex's discovery time
|
int |
getFinishTime()
Get the vertex's finish time
|
void |
setDiscoveryTime(int discoveryTime)
Set the time at which the vertex was discovered
|
void |
setFinishTime(int finishTime)
Set the time at which the vertex visit was finished
|
addAdjacency, adjacencyCount, clearAdjacencies, containsAdjacency, getAdjacencies, getGraph, hasAdjacencies, removeAdjacency, setGraph
static final int DEFAULT_DISCOVERY_TIME
static final int DEFAULT_FINISH_TIME
static final int FIRST_DISCOVERY_TIME
void setDiscoveryTime(int discoveryTime)
discoveryTime
- value to which to set the discovery timevoid setFinishTime(int finishTime)
finishTime
- value to which to set the finish timeint getDiscoveryTime()
int getFinishTime()