source: java/ecj/readme-frams-in-ecj.txt @ 163

Last change on this file since 163 was 46, checked in by Maciej Komosinski, 15 years ago

added instructions on how to use framsticks with ecj

File size: 1.2 KB
Line 
1How to use ecj to perform (co-)evolution of framsticks
2------------------------------------------------------
3
41. Download ecj and unpack it to some directory.
5
62. Get the java\ecj subdirectory from the framsticks svn.
7
83. Copy the "framsticks" and "cecj" subdirectories from your svn copy to the ecj directory.
9
104. Compile these sources:
11   javac framsticks\*.java cecj\*.java
12
135. Download and install (or unzip) Framsticks executables to some directory
14
156. Update the following files if needed:
16   framsticks.params: update paths to the Framsticks executables, and stat.file (evolution log)
17   framsticks.slave.params: only if you want to distribute evolution, enter the IP number of the master machine
18
19
20
21For convenience, you might want to prepare a single "ecj-framsticks.jar" package with all class and params files.
22
23Now you are ready to run evolution.
24
25
26Single process:
27     java ec.Evolve -file framsticks/framsticks.params
28     or
29     java -cp ecj-framsticks.jar ec.Evolve -file framsticks.params
30
31Distributed:
32master:
33     java -cp ecj-framsticks.jar ec.Evolve -file framsticks.master.params
34all slaves:
35     java -cp ecj-framsticks.jar ec.eval.Slave -file framsticks.slave.params
Note: See TracBrowser for help on using the repository browser.