|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdigraphs.DigraphNode
digraphs.DigraphNodeLabeled
public class DigraphNodeLabeled
A class for representing nodes in directed graphs that have strings as labels for the nodes.
| Constructor Summary | |
|---|---|
DigraphNodeLabeled(java.lang.String label)
Initializes a new DigraphNodeLabeled with a given label and default estimated number of in-edges and of out-edges per node. |
|
| Method Summary | |
|---|---|
java.lang.String |
getLabel()
Returns the current label of the node. |
void |
setLabel(java.lang.String newLabel)
Changes the label of the node to a given new value. |
| Methods inherited from class digraphs.DigraphNode |
|---|
addInEdge, addOutEdge, ancestors, ancestors, connectedNodes, connectedNodes, descendants, descendants, getInEdges, getOutEdges, inDegree, neighboursIn, neighboursOut, outDegree, removeInEdge, removeOutEdge |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DigraphNodeLabeled(java.lang.String label)
| Method Detail |
|---|
public java.lang.String getLabel()
public void setLabel(java.lang.String newLabel)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||