Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 617 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 617 Bytes

Robby-the-robot

A genetic algorithm to evolve a soda can cleaning robot.

Compiling

In terminal:

gcc robby_ga.c functions.c -o ROBBY
./ROBBY

The main program, ROBBY, generates two files: report.dat and strategy.dat. Report.dat just shows some stats used in the program while strategy.dat encodes how Robby must move.

##Visualizing In terminal:

gcc plot_strategy.c functions.c -o PLOT_STRATEGY
./PLOT_STRATEGY strategy.dat

Robby's cleaning session after a 20,000 generation evolution

alt tag