The goal is to optimize the track between a start- and an endpoint in such a way,
that the time a moveable point sliding down the track needs to reach the end of
the track becomes minimal. The point moves frictionless by means of his own gravity
and its velocity is 0 at the startpoint.
The track is modelled by lines through successive trackpoints.
// 10 trackpieces => 9 inner trackpoints
double object_parameters[]= {10,10, 20,20, 30,30, 40,40, 50,50,
60,60, 70,70, 80,80, 90,90, 100,100, 110,110 };
double strategy_parameters[] = {0,0, 0,1, 0,1, 0,1, 0,1,
0,1, 0,1, 0,1, 0,1, 0,1, 0,0 };
As we want to optimize the height of the tracks inner points all but the y-positions
of the inner track points have a strategy parameter of 0.
// 10 trackpieces => 9 inner trackpoints => 9*10 bit gray-encoded bit-vector
[ [010011110],[011000110],[110100001],[010111011],[101111001],
[101011001],[010011101],[011000011],[001111001] ]