Constructor and Description |
---|
StrongComponent()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addVertex(AtomicVertex vertex)
Adds the specified vertex to this strong component.
|
void |
calculateAttributes()
Calculates all graph properties of this component.
|
int |
getLongestWalk() |
int |
getNumberOfVertices()
Returns the number of vertices building this strong component.
|
AtomicVertex |
getVertex(int index)
Returns the vertex of the specified index.
|
boolean |
isActive() |
void |
reset()
Reset this component.
|
void |
setActive(boolean active) |
void |
setLongestWalk(int longestWalk) |
java.lang.String |
toString()
Returns toString() of the attributes and the number of
incoming and outgoing arcs.
|
addIncomingArcTo, addOutgoingArcTo, compareTo, getAttributes, getHeadVertex, getNumberOfIncomingArcs, getNumberOfOutgoingArcs, getTailVertex, isVisited, visit
public StrongComponent()
Attributes
of a strong component will
a null pointer.public int getNumberOfVertices()
public AtomicVertex getVertex(int index)
public void addVertex(AtomicVertex vertex)
public void calculateAttributes()
GraphAttributes
.public void reset()
public boolean isActive()
public void setActive(boolean active)
public int getLongestWalk()
public void setLongestWalk(int longestWalk)