V
- the node type.E
- the edge type.public interface Traversable<V extends Traversable<V,E>,E extends Edge<V>> extends Comparable<V>
Modifier and Type | Method and Description |
---|---|
int |
getDepth()
Gets the depth.
|
List<? extends E> |
getIn()
Gets the incoming edges.
|
int |
getOrder()
Gets the order.
|
List<? extends E> |
getOut()
Gets the outgoing edges.
|
void |
setDepth(int depth)
Sets the depth.
|
void |
setOrder(int order)
Sets the order.
|
String |
toString()
Creates a human-readable representation of this node.
|
compareTo