Bellman-Ford Algorithm

Description

A* search algorithm is a path finding algorithm that finds the single-pair shortest path between the start node(source) and the target node(destination) of a weighted graph. The algorithm not only considers the actual cost from the start node to the current node(g) but also tries to estimate the cost will take from the current node to the target node using heuristics (h). Then it selects the node that has the lowest f-value(f=g+h) to be the next node to move until it hits the target node. Dijkstra’s algorithm is a special case of A* algorithm where heuristic is 0 for all nodes.

Key Features

Use Case

A* algorithm is particularly well-suited for routing and resource allocation in cloud platforms such as OpenStack and GCP. It ensures:

Implementation

Below is the implimentation of A* algorithm.

A* Implementation in Java

References