| Package | Description |
|---|---|
| ch.awae.utils.pathfinding |
General Path-Finding library.
|
| Modifier and Type | Method and Description |
|---|---|
default GraphDataProvider<T> |
GraphDataProvider.withDistance(Function2<T,T,java.lang.Double> distance)
Replaces the distance function with a custom function.
|
default GraphDataProvider<T> |
GraphDataProvider.withHeuristic(Function2<T,T,java.lang.Double> heuristic)
Replaces the distance heuristic with a custom function.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> AStarPathfinder<T> |
AStarPathfinder.create(GraphDataProvider<T> graph) |
static <T> DijkstraPathfinder<T> |
DijkstraPathfinder.create(GraphDataProvider<T> graph) |
| Constructor and Description |
|---|
AStarPathfinder(GraphDataProvider<V> graph) |
DijkstraPathfinder(GraphDataProvider<V> graph) |
| Constructor and Description |
|---|
VertexPathfinder(Function1<GraphDataProvider<T>,Pathfinder<T>> generator) |
Copyright © 2018. All Rights Reserved.