mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-17 01:31:01 +00:00
reduce optimization grid size (to increase runtime performance for testing)
This commit is contained in:
1 parent
9af1e23807
commit
c9e0f4f6d4
1 file changed
+2
-2
+2
-2
@@ -144,14 +144,14 @@ public class PathGeneratorDynProgForward extends PathGeneratorBase {
|
||||
LinkedList<TimedPositionWithSpeed> optPath = new LinkedList<TimedPositionWithSpeed>();
|
||||
|
||||
// initiate grid: since performance is good, make it somewhat larger than what we do with dijkstra
|
||||
int spatialGridsizeVertical = 31; //(int) Math.round(1.5 *
|
||||
int spatialGridsizeVertical = 21; //(int) Math.round(1.5 *
|
||||
// simulationParameters.getProperty("Djikstra.gridv[int]").intValue()); // number
|
||||
// of
|
||||
// vertical
|
||||
// grid
|
||||
// steps
|
||||
// Formula: sgridh ~ xscale*sgridv/tan(beatangle*pi/180)
|
||||
int spatialGridsizeHorizontal = 31*5; //(41-1)*5; //(int) Math.round(2 *
|
||||
int spatialGridsizeHorizontal = 21*5; //(41-1)*5; //(int) Math.round(2 *
|
||||
// simulationParameters.getProperty("Djikstra.gridh[int]").intValue()); // number
|
||||
// of
|
||||
// horizontal
|
||||
|
||||
Reference in new issue
Block a user