This is an octave implementation of the basic algorithm to compute speed of moving entities over a network having varying speed restrictions and acceleration/deceleration patterns