The input files for TinyGP have the following plain ASCII format:
// See belowFITNESSCASE1
// The f i t n e s s cases (one per l i n e )FITNESSCASE2 FITNESSCASE3 . . . . Each fitness case is of the form
X1 . . . XN TARGETwhere X1 to XN represent a set of input values for a program, while TARGET represents the desired output for the given inputs.
The header has the following entries
NVAR NRAND MINRAND MAXRAND NFITCASESwhere NVAR is an integer representing the number of variables the system should use, NRAND is an integer representing the number of random constants to be provided in the primitive set, MINRAND is a float representing the lower limit of the range used to generate random constants, MAXRAND is the corresponding upper limit, and NFITCASES is an integer representing the number of fitness cases. NRAND can be set to 0, in which case MINRAND and MAXRAND are ignored. For example:
1 100 -5 5 63
55 LINES OMITTED