Weather routing: Difference between revisions
→{{header|Wren}}: Removed an unused variable and corrected comment.
(Added Go) |
(→{{header|Wren}}: Removed an unused variable and corrected comment.) |
||
Line 1,148:
/*
Class that represents a routing problem and requiring the following parameters:
* timeinterval: the
* timeframe: a vector of sequential timeslices for the ocean region
* obstacleindices: the Cartesian indices in each timeslice for
Line 1,226:
var timedPaths = [TimedPath.new(0, [rp.start])]
var completed = false
var minPath = TimedPath.new(1000, [])
for (i in 0...1000) {
|