1 | Ellis, Gilligans, Coney, Fantasy, Rhode, Survivor, Temptation, |
---|
2 | and Treasure Island. Survivor Island will be the server. |
---|
3 | |
---|
4 | To run this example, launch eight processes, each with |
---|
5 | the appropriate .params file for that island. |
---|
6 | |
---|
7 | If you're running them on the same machines, you can |
---|
8 | simply do: |
---|
9 | |
---|
10 | java ec.Evolve -file survivor.params |
---|
11 | |
---|
12 | java ec.Evolve -file ellis.params |
---|
13 | |
---|
14 | java ec.Evolve -file gilligans.params |
---|
15 | |
---|
16 | java ec.Evolve -file coney.params |
---|
17 | |
---|
18 | java ec.Evolve -file fantasy.params |
---|
19 | |
---|
20 | java ec.Evolve -file rhode.params |
---|
21 | |
---|
22 | java ec.Evolve -file temptation.params |
---|
23 | |
---|
24 | java ec.Evolve -file treasure.params |
---|
25 | |
---|
26 | |
---|
27 | If you're running the processes on different machines, |
---|
28 | you'll need to modify the server address |
---|
29 | so the machines know where Survivor Island (the server) is located: |
---|
30 | |
---|
31 | java ec.Evolve -file survivor.params |
---|
32 | |
---|
33 | java ec.Evolve -file ellis.params \ |
---|
34 | -p exch.server-addr=address.of.survivor.com |
---|
35 | |
---|
36 | java ec.Evolve -file gilligans.params \ |
---|
37 | -p exch.server-addr=address.of.survivor.com |
---|
38 | |
---|
39 | java ec.Evolve -file coney.params \ |
---|
40 | -p exch.server-addr=address.of.survivor.com |
---|
41 | |
---|
42 | java ec.Evolve -file fantasy.params \ |
---|
43 | -p exch.server-addr=address.of.survivor.com |
---|
44 | |
---|
45 | java ec.Evolve -file rhode.params \ |
---|
46 | -p exch.server-addr=address.of.survivor.com |
---|
47 | |
---|
48 | java ec.Evolve -file temptation.params \ |
---|
49 | -p exch.server-addr=address.of.survivor.com |
---|
50 | |
---|
51 | java ec.Evolve -file treasure.params \ |
---|
52 | -p exch.server-addr=address.of.survivor.com |
---|
53 | |
---|
54 | |
---|
55 | The parameter files have been set up to define different |
---|
56 | socket ports for each client; though this is only necessary |
---|
57 | if they're running on the same computer. |
---|