apoc.algo.aStar
Syntax |
|
||
Description |
Runs the A* search algorithm to find the optimal path between two |
||
Input arguments |
Name |
Type |
Description |
|
|
The node to start the search from. |
|
|
|
The node to end the search on. |
|
|
|
The relationship types to restrict the algorithm to. Relationship types are represented using APOC’s rel-direction-pattern syntax; |
|
|
|
The name of the property to use as the weight. |
|
|
|
The name of the property to use as the latitude. |
|
|
|
The name of the property to use as the longitude. |
|
Return arguments |
Name |
Type |
Description |
|
|
The path result. |
|
|
|
The weight of the given path. |