public interface EdgeWeigher<V extends Vertex,E extends Edge<V>>
Modifier and Type | Method and Description |
---|---|
Weight |
getInitialWeight()
Returns initial weight value (i.e.
|
Weight |
getNonViableWeight()
Returns weight of a link/path that should be skipped
(can be considered as an infinite weight).
|
Weight |
weight(E edge)
Returns the weight of the given edge.
|
Weight weight(E edge)
edge
- edge to be weighedWeight getInitialWeight()
Weight getNonViableWeight()