Skip to content

Commit dcf16ac

Browse files
authored
Update AStarSearch.java
1 parent 2da1d4f commit dcf16ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/thealgorithms/graph/AStarSearch.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* @author Your Name
1616
* @version 1.0
1717
*/
18-
public final class AStar {
18+
public final class AStarSearch {
1919

2020
/**
2121
* Represents a node in the graph for A* algorithm.
@@ -54,7 +54,7 @@ public int compareTo(Node other) {
5454
/**
5555
* Constructs an empty graph.
5656
*/
57-
public AStar() {
57+
public AStarSearch() {
5858
graph = new HashMap<>();
5959
}
6060

0 commit comments

Comments
 (0)