1 / 8

GENESIS

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

Download Presentation

GENESIS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. GENESIS • Overview • Access • Setup • Execution • Reporting • Hints • FAQ

  2. 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.)

  3. 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

  4. 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

  5. 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

  6. GENESIS - Reporting • ./report x > rep.x • Summarizes the run whose output was out.x • cat or pico or your favorite to view

  7. 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

  8. 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

More Related