Track 3: Street1
- modifications made include normalizing inputs to [0, 10]
- reasons for tweaking: after taking out the reset of v & u at every timestep, the driver became weird. it cant simulate d same score as when it is still evolving. So i print the values of v & u, and found out that v became -1.#IND ... negative infinity. When i put the reset at every timestep back in, i found out that the values of v are in the housands. Could it be that the input currents are too large? Hence the normalization of the input currents to [0, 10]
- changing the fitness function to:
- population[x].fitness = drivers[x].distRaced + (100 * (drivers[x].ttlSpd / maxSteps)) + (maxSteps - drivers[x].Tout) - drivers[x].damage;
- included the substraction of damage.











0 comments:
Post a Comment