Course: COMS 4444 Programming and Problem Solving (F2019)
Uni: Columbia University
Instructor: Prof. Kenneth Ross
TAs: Vaibhav Darbari, Chengyu Lin
- First compile the simulator
javac mutation/sim/*.java - Extend
mutation.sim.Playerclass to implement your idea. - Your player will be interacting with
mutation.sim.Console. There are 3 public methods that you may need to use:String Mutate(String genome): it performsmmutations. The stringgenomemust have length exactly 1000. If you exceeds the limit of experiments, it will return an empty string.int getNumberOfMutations(): returns the number of mutations performed for the lastMutate(genome)call.boolean Guess(Mutagen guess): returnstrueif your guess exactly matches the hidden mutagen.
- Running your player with
java mutation.sim.Simulator -p g0(replaceg0with your group number). Other useful parameters are:-c [path] | --cfgpath [path]: path to the hidden mutagen. Default value ismutagen.cfg.-g | --gui: enable GUI--fps [fps]: set fps for GUI. Default value is 5.-m [m]: set the number of mutations per experiment. Default value is 1.-t [t] | --trials [t]: set the maximum number of experiments. Default value is 100,000.-tl [limit] | --timelimit [limit]: set the time limit in millisecond. Note that the computation within console is also considered. Default value is 60,000.