uniformkostnadssökning
Uniform Cost Search (UCS), known in Swedish as uniformkostnadssökning, is a graph traversal and pathfinding algorithm used in artificial intelligence and computer science. It systematically explores a graph by expanding the node with the lowest path cost from the start node. UCS guarantees finding the optimal path to a goal node in a weighted graph, meaning it finds the path with the minimum total edge weight.
The algorithm maintains a priority queue of nodes to visit, ordered by their path cost from the
UCS is considered an uninformed search algorithm because it does not use any heuristic information about the