public class DirectedOrderedDfsVertex extends DirectedSimpleColoredVertex implements OrderedDfsVertex
Modifier and Type | Class and Description |
---|---|
static class |
DirectedOrderedDfsVertex.Factory |
DEFAULT_DISCOVERY_TIME, DEFAULT_FINISH_TIME, FIRST_DISCOVERY_TIME
DEFAULT_SEARCH_ORDER_VALUE
DEFAULT_COMPONENT, FIRST_COMPONENT_NUMBER
Constructor and Description |
---|
DirectedOrderedDfsVertex() |
Modifier and Type | Method and Description |
---|---|
int |
getComponent()
Get the number of the component to which the vertex belongs
|
int |
getDiscoveryTime()
Get the vertex's discovery time
|
int |
getFinishTime()
Get the vertex's finish time
|
int |
getSearchOrder()
Get the value of the searchOrder field
|
void |
setComponent(int componentNumber)
Set the number of the component to which the vertex belongs
|
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
|
void |
setSearchOrder(int searchOrder)
Set the value of the searchOrder field
|
getColor, setColor
addAdjacency, adjacencyCount, clearAdjacencies, containsAdjacency, getAdjacencies, hasAdjacencies, removeAdjacency
equals, getGraph, setGraph
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getColor, setColor
addAdjacency, adjacencyCount, clearAdjacencies, containsAdjacency, getAdjacencies, getGraph, hasAdjacencies, removeAdjacency, setGraph
public void setDiscoveryTime(int discoveryTime)
VisitedVertex
setDiscoveryTime
in interface VisitedVertex
discoveryTime
- value to which to set the discovery timepublic void setFinishTime(int finishTime)
VisitedVertex
setFinishTime
in interface VisitedVertex
finishTime
- value to which to set the finish timepublic int getDiscoveryTime()
VisitedVertex
getDiscoveryTime
in interface VisitedVertex
public int getFinishTime()
VisitedVertex
getFinishTime
in interface VisitedVertex
public void setSearchOrder(int searchOrder)
OrderedSearchVertex
setSearchOrder
in interface OrderedSearchVertex
searchOrder
- value to which to set the searchOrder fieldpublic int getSearchOrder()
OrderedSearchVertex
getSearchOrder
in interface OrderedSearchVertex
public void setComponent(int componentNumber)
ComponentVertex
setComponent
in interface ComponentVertex
componentNumber
- value to which to set the component numberpublic int getComponent()
ComponentVertex
getComponent
in interface ComponentVertex