Name | Modified | Size | Downloads / Week |
---|---|---|---|
GP.zip | 2013-01-18 | 157.6 kB | |
README.txt | 2013-01-18 | 1.0 kB | |
gpopcode.h | 2013-01-18 | 2.5 kB | |
minUnit.h | 2013-01-18 | 373 Bytes | |
gpfight.h | 2013-01-18 | 3.6 kB | |
gplib.h | 2013-01-18 | 1.8 kB | |
curses.h | 2013-01-18 | 50.0 kB | |
globals.h | 2013-01-18 | 912 Bytes | |
makefile_linux | 2013-01-18 | 220 Bytes | |
makefile_win | 2013-01-18 | 236 Bytes | |
gpopcode.c | 2013-01-18 | 10.0 kB | |
makefile | 2013-01-18 | 636 Bytes | |
unitTest.c | 2013-01-18 | 16.8 kB | |
gplib.c | 2013-01-18 | 33.2 kB | |
gp.exe | 2013-01-18 | 140.6 kB | |
gpfight.c | 2013-01-18 | 37.2 kB | |
pdcurses.dll | 2012-06-11 | 118.8 kB | |
Totals: 17 Items | 575.5 kB | 0 |
Experiment with genetic algorithms. Builds in Mingw and straight Linux, swap out the two makefiles and use #define WINOWS_ENVIRONMENT as needed. Uses PDcurses or ncurses. Arguments: [-a numAgents] How many agents to generate. Default: 15 [-r numRounds] How many rounds to process. Program will quit afterwards. Default: 10 0 for infinate [-l roundLength] Number of turns in a round. [-p maxCycles] How many instructions to let them crunch before forcing an end of round. [-f] Run fast. Limited only by your processor. [-s] Run slow. Turn is limited to .25 seconds. Default limits turns to 1 millisecond. [-d] Run dark. No input or output. Runs really fast though. [-c] Log consiousness stream. Every opcode is logged. [-m] Mute. Log NOTHING. For running overnight, when you don't want a logfile to build up. [-v] Verbose. Log EVERYTHING. See also globals.h for finer control. Interface: [wasd] moves around a cursor [ijkl] lets you take direct control to move an agent space bar to pause, unpause