Class SQLFunctionAstar

  • All Implemented Interfaces:
    SQLFunction

    public class SQLFunctionAstar
    extends SQLFunctionHeuristicPathFinderAbstract
    A*'s algorithm describes how to find the cheapest path from one node to another node in a directed weighted graph with husrestic function.

    The first parameter is source record. The second parameter is destination record. The third parameter is a name of property that represents 'weight' and fourth parameter represents the map of options.

    If property is not defined in edge or is null, distance between vertexes are 0 .

    Author:
    Saeed Tabrizi (saeed a_t nowcando.com)