propeller.problems.PSB2.bouncing-balls

 ===========  PROBLEM DESCRIPTION  ===============================
BOUNCING BALLS from PSB2
Given a starting height and a height after the first bounce of a
dropped ball, calculate the bounciness index
(height of first bounce / starting height). Then, given a number
of bounces, use the bounciness index to calculate the total
distance that the ball travels across those bounces.

Source: https://arxiv.org/pdf/2106.06086.pdf
==================================================================

-main

(-main & args)
Runs propel-gp, giving it a map of arguments.

error-function

(error-function argmap data individual)
Finds the behaviors and errors of an individual: Error is 0 if the value and
the program's selected behavior match, or 1 if they differ, or 1000000 if no
behavior is produced. The behavior is here defined as the final top item on
the FLOAT stack.

instructions

stack-specific instructions, input instructions, close, and constants

map-vals-input

(map-vals-input i)
Returns all the input values of a map (specific helper method for bouncing-balls)

map-vals-output

(map-vals-output i)
Returns the output values of a map (specific helper method for bouncing-balls)

train-and-test-data