Bellman–Ford algorithm

Bellman%E2%80%93Ford algorithm

The Bellman–Ford algorithm is used to find the shortest paths from a single source vertex to all other vertices in a weighted digraph. It can handle graphs with negative edge weights, and can detect and report negative cycles if present. It is slower than Dijkstra's algorithm but more versatile.

2 courses cover this concept

CS 161 Design and Analysis of Algorithms

Stanford University

Winter 2023

This course provides an in-depth exploration of algorithm analysis and design. It covers various sorting, searching, and selection algorithms, data structures, and fundamental graph algorithms. It emphasizes the understanding of worst and average case analysis, recurrences, and asymptotics.

No concepts data

+ 30 more concepts

15-451/651 Algorithms

Carnegie Mellon University

Spring 2022

This course explores the design and analysis of algorithms, algorithmic modelling techniques, and their efficiency. It aims to provide tools for designing and analyzing personal algorithms, using various analytical tools and frameworks. Some advanced topics not commonly covered in textbooks are also taught.

No concepts data

+ 37 more concepts