|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Path<N,P extends Path<N,P>>
A Path models a sequence of nodes and the cost for travelling along such a sequence.
Paths are immutable.
Method Summary | |
---|---|
double |
cost()
|
N |
end()
|
P |
extend(N n)
Creates an extended path by adding a new node to its end. |
Iterator<N> |
iterator()
|
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
P extend(N n)
double cost()
N end()
Iterator<N> iterator()
iterator
in interface Iterable<N>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |