Complexity: O(|V ||E|) (V ...set of vertices; E...set of edges) For directed graphs. Edge weights/distances may be negative. (Dijkstra’s algorithm cannot be applied in this case) Source: Corman et al. (2001) Introduction to algorithms, 2nd edition
ความซับซ้อน: O (| V || E |) (V ... ตั้งของจุด; E ... ชุดขอบ) สำหรับกราฟกำกับ น้ำหนักขอบ / ระยะทางที่อาจจะเป็นเชิงลบ (อัลกอริทึมของ Dijkstra ไม่สามารถนำมาใช้ในกรณีนี้) ที่มา: คอร์แมน, et al (2001) รู้เบื้องต้นเกี่ยวกับขั้นตอนวิธีการพิมพ์ครั้งที่ 2