public static interface GraphUtil.Graph
| Modifier and Type | Method and Description |
|---|---|
Iterable<Integer> |
in(int id)
Returns the incoming node indexes in the specified node
|
int |
n()
Returns the number of nodes in this graph.
|
Iterable<Integer> |
out(int id)
Returns the outgoing node indexes from the specified node
|
int n()
n()-1.Iterable<Integer> in(int id)
id - the identifier of the specified nodeCopyright © 2018 Laurent Michel, Pierre Schaus, Pascal Van Hentenryck. All rights reserved.