|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
N - The actual type of any subclass that implements NodeV - The value returned by the compute() function.public interface Node<N extends Node<N,V>,V>
Represents a node in a graph. Do not change this interface.
| Method Summary | |
|---|---|
V |
compute()
Returns the value of some computation. |
Collection<N> |
neighbors()
Returns the neighbors of this. |
| Method Detail |
|---|
V compute()
Collection<N> neighbors()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||