Last change
on this file since 124 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 | |
---|
1 | How to use ecj to perform (co-)evolution of framsticks
|
---|
2 | ------------------------------------------------------
|
---|
3 |
|
---|
4 | 1. Download ecj and unpack it to some directory.
|
---|
5 |
|
---|
6 | 2. Get the java\ecj subdirectory from the framsticks svn.
|
---|
7 |
|
---|
8 | 3. Copy the "framsticks" and "cecj" subdirectories from your svn copy to the ecj directory.
|
---|
9 |
|
---|
10 | 4. Compile these sources:
|
---|
11 | javac framsticks\*.java cecj\*.java
|
---|
12 |
|
---|
13 | 5. Download and install (or unzip) Framsticks executables to some directory
|
---|
14 |
|
---|
15 | 6. 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 |
|
---|
21 | For convenience, you might want to prepare a single "ecj-framsticks.jar" package with all class and params files.
|
---|
22 |
|
---|
23 | Now you are ready to run evolution.
|
---|
24 |
|
---|
25 |
|
---|
26 | Single process:
|
---|
27 | java ec.Evolve -file framsticks/framsticks.params
|
---|
28 | or
|
---|
29 | java -cp ecj-framsticks.jar ec.Evolve -file framsticks.params
|
---|
30 |
|
---|
31 | Distributed:
|
---|
32 | master:
|
---|
33 | java -cp ecj-framsticks.jar ec.Evolve -file framsticks.master.params
|
---|
34 | all slaves:
|
---|
35 | java -cp ecj-framsticks.jar ec.eval.Slave -file framsticks.slave.params
|
---|
Note: See
TracBrowser
for help on using the repository browser.