The results of the cost function calls. The array may be sorted but otherwise not be mutated.
The distance between the grid spaces.
The properties of the segment.
The results of the cost function calls. The array may be sorted but otherwise not be mutated.