V - vertex typeE - edge typepublic abstract class AbstractGraphPathSearch<V extends Vertex,E extends Edge<V>> extends Object implements GraphPathSearch<V,E>
| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractGraphPathSearch.DefaultResult
Default path search result that uses the DefaultPath to convey paths
in a graph.
|
GraphPathSearch.Result<V extends Vertex,E extends Edge<V>>ALL_PATHS| Constructor and Description |
|---|
AbstractGraphPathSearch() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkArguments(Graph<V,E> graph,
V src,
V dst)
Checks the specified path search arguments for validity.
|
double |
samenessThreshold()
Returns the current sameness threshold for comparing cost values.
|
void |
setSamenessThreshold(double threshold)
Sets a new sameness threshold for comparing cost values; default is
is
Double.MIN_VALUE. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsearchpublic void setSamenessThreshold(double threshold)
Double.MIN_VALUE.threshold - fractional double valuepublic double samenessThreshold()
Copyright © 2016. All rights reserved.