The above expression for the total cost function at x, y or in fact, any other point in the region [s, t] has the form y= mx + c, where the slope m = -Ns/Dt. This is exactly how the slopes are computed in Step 5 of the algorithm
นิพจน์ข้างต้นสำหรับต้นทุนรวมฟังก์ชันที่ x , y หรือ ในความเป็นจริง , จุดอื่น ๆในภูมิภาค [ S , t ] มีรูป Y = MX C ที่ความชัน m = - NS / DT . นี่มันเหมือนกับลาดมีการคำนวณในขั้นตอนที่ 5 ของขั้นตอนวิธี