this idea occurred to me. as remarked some prior, there seems to be some pattern in a lot of trajectories in that its basically just an upslope and a downslope, eg within the glide region. how much of a pattern is this? or is it just highly related to all the glide generation algorithms devised so far? what would a trajectory that deviates from it look like?

this code splits the trajectory (glide only) into left and right upslope and downslope sides and then measures the mx value for each separately, trying to maximize it. the code has 3 modes: 1 maximizes left, 2 maximizes right, and 3 maximizes over both, but noticed the last one tends to settle on optimizing left after many iterations. the purple line is the mx value and the green line is the length of the “side” (upslope or downslope). another funky aspect of this code is that it seems to occasionally “paint itself into a corner” and fail to find increasing trends after long runs.