80 likes | 327 Views
GENESIS. Overview Access Setup Execution Reporting Hints FAQ. GENESIS – Overview. GENESIS is GA code written in C It is easy to use It comes with a Users Guide genesis.doc Read genesis.doc at least once all the way through, it is not long
E N D
GENESIS • Overview • Access • Setup • Execution • Reporting • Hints • FAQ
GENESIS – Overview • GENESIS is GA code written in C • It is easy to use • It comes with a Users Guide genesis.doc • Read genesis.doc at least once all the way through, it is not long • Presentation continues assuming Unix on a Stanford system (Elaine, Cardinal, etc.)
GENESIS - Access • Download genesis.tar.Z from http://www.aic.nrl.navy.mil/galist/src/ • If you use FTP make sure you set the “bin” command (bin=binary) • Put this file into the directory of your choice, then unzip, on Unix that would be: • tar xvzf genesis.tar.Z
GENESIS - Setup • GENESIS comes with a make file • The command is • make install • You create the fitness function • Your code tells the GA system the fitness of any given individual • GENESIS considers lower fitness values better
GENESIS - Execution • There is a “go” function (essentially a macro) provided which you can read about in the Users Manual • Be aware that your current directory must be in the system path for this to work • ./make f=x ga.x • x = the abbreviation of your problem • I suggest “p1”, “p2a” etc. • ./ga.xy • y = the suffix of the “out” file that is produced
GENESIS - Reporting • ./report x > rep.x • Summarizes the run whose output was out.x • cat or pico or your favorite to view
GENESIS - Hints • You really want to read the Users Guide • If you find yourself writing more than a few lines of code (~30), something is wrong • The semantics of the vector is unknown to the GA System (excluding the implementation of the fitness function of course) • Look at the source code if you are curious, beware of becoming mesmerized by it
Anticipated FAQ • How do use GENESIS? • A Users Guide to GENESIS • How do I use Unix? • Unix Programming Tools PDF at http://cslibrary.stanford.edu/107/ • How do I use a computer? • http://computing.stanford.edu/ • I can’t get GENESIS to run on my PC • Please try a campus system