I want to create a tunable version of SuperTracker with four parameters that reads a set of the four
parameters from a disk file. I know what parameter I want to modify and how, but the problem is I am applying Genetic Algorithm to optimize the strategy of the robot and in every "iteration" of the algorithm I have to create a new tunable version of the robot wich have those parameters modified. How could I create a new version of the robot which is different in every iteration . This is exactly what my teacher told me to do:
"You must create a tunable version of SuperTracker that reads a set of the four
parameters from a disk file. The disk file must be written by the fitness function of the
genetic algorithm, which should also call the Robocode engine in order to run a battle
for a certain parameter configuration. "
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I want to create a tunable version of SuperTracker with four parameters that reads a set of the four
parameters from a disk file. I know what parameter I want to modify and how, but the problem is I am applying Genetic Algorithm to optimize the strategy of the robot and in every "iteration" of the algorithm I have to create a new tunable version of the robot wich have those parameters modified. How could I create a new version of the robot which is different in every iteration . This is exactly what my teacher told me to do:
"You must create a tunable version of SuperTracker that reads a set of the four
parameters from a disk file. The disk file must be written by the fitness function of the
genetic algorithm, which should also call the Robocode engine in order to run a battle
for a certain parameter configuration. "
Since it is an assignment from your teacher and home work for you, I will only give you a quick hint:
https://robocode.sourceforge.io/docs/robocode/robocode/AdvancedRobot.html#getDataFile-java.lang.String-