1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209
| initializing the population indiv:* 0 chromesome: [0, 1, 1, 1, 1, 0, 0, 0, 0, 1] indiv:* 1 chromesome: [0, 0, 0, 1, 1, 1, 0, 0, 1, 1] indiv:* 2 chromesome: [0, 0, 1, 1, 0, 0, 1, 1, 0, 0] indiv:* 3 chromesome: [1, 1, 1, 0, 1, 1, 1, 1, 0, 0] indiv:* 4 chromesome: [1, 0, 1, 0, 1, 0, 0, 0, 1, 1] indiv:* 5 chromesome: [1, 1, 0, 1, 1, 0, 0, 0, 0, 1] indiv:* 6 chromesome: [0, 0, 0, 0, 1, 1, 0, 1, 0, 1] indiv:* 7 chromesome: [0, 1, 0, 0, 0, 1, 1, 1, 1, 1] indiv:* 8 chromesome: [1, 1, 1, 1, 1, 1, 1, 1, 0, 0] indiv:* 9 chromesome: [1, 0, 1, 0, 1, 1, 1, 0, 1, 0] indiv:* 10 chromesome: [1, 1, 1, 0, 0, 1, 1, 0, 0, 0] indiv:* 11 chromesome: [0, 0, 1, 1, 1, 1, 1, 1, 0, 1] indiv:* 12 chromesome: [1, 1, 1, 1, 1, 1, 1, 1, 0, 0] indiv:* 13 chromesome: [0, 1, 0, 0, 0, 1, 1, 0, 1, 0] indiv:* 14 chromesome: [1, 1, 0, 1, 1, 1, 1, 1, 1, 0] indiv:* 15 chromesome: [1, 1, 1, 0, 1, 1, 1, 1, 0, 1] indiv:* 16 chromesome: [0, 1, 1, 1, 0, 0, 1, 1, 1, 1] indiv:* 17 chromesome: [1, 0, 0, 0, 1, 1, 0, 1, 0, 0] indiv:* 18 chromesome: [0, 1, 0, 0, 1, 1, 0, 0, 1, 1] indiv:* 19 chromesome: [0, 0, 1, 1, 0, 0, 1, 0, 1, 1] ======Round: 0 ============== translation indiv: 0 chromosome: [1, 3, 4, 1] indiv: 1 chromosome: [0, 1, 6, 3] indiv: 2 chromosome: [0, 3, 1, 4] indiv: 3 chromosome: [3, 2, 7, 4] indiv: 4 chromosome: [2, 2, 4, 3] indiv: 5 chromosome: [3, 1, 4, 1] indiv: 6 chromosome: [0, 0, 6, 5] indiv: 7 chromosome: [1, 0, 3, 7] indiv: 8 chromosome: [3, 3, 7, 4] indiv: 9 chromosome: [2, 2, 7, 2] indiv: 10 chromosome: [3, 2, 3, 0] indiv: 11 chromosome: [0, 3, 7, 5] indiv: 12 chromosome: [3, 3, 7, 4] indiv: 13 chromosome: [1, 0, 3, 2] indiv: 14 chromosome: [3, 1, 7, 6] indiv: 15 chromosome: [3, 2, 7, 5] indiv: 16 chromosome: [1, 3, 1, 7] indiv: 17 chromosome: [2, 0, 6, 4] indiv: 18 chromosome: [1, 0, 6, 3] indiv: 19 chromosome: [0, 3, 1, 3] evaluation successfully load fitness function indiv: 0 fitness: 125.0 indiv: 1 fitness: 442.0 indiv: 2 fitness: 199.0 indiv: 3 fitness: 681.0 indiv: 4 fitness: 293.0 indiv: 5 fitness: 125.0 indiv: 6 fitness: 729.0 indiv: 7 fitness: 730.0 indiv: 8 fitness: 682.0 indiv: 9 fitness: 404.0 indiv: 10 fitness: 41.0 indiv: 11 fitness: 844.0 indiv: 12 fitness: 682.0 indiv: 13 fitness: 145.0 indiv: 14 fitness: 1028.0 indiv: 15 fitness: 846.0 indiv: 16 fitness: 533.0 indiv: 17 fitness: 578.0 indiv: 18 fitness: 442.0 indiv: 19 fitness: 124.0 average fitness: 483.65 indiv: 0 normal fitness: 0.25845135945415076 indiv: 1 normal fitness: 0.913884007029877 indiv: 2 normal fitness: 0.41145456425100796 indiv: 3 normal fitness: 1.4080430063062133 indiv: 4 normal fitness: 0.6058099865605293 indiv: 5 normal fitness: 0.25845135945415076 indiv: 6 normal fitness: 1.5072883283366072 indiv: 7 normal fitness: 1.5093559392122404 indiv: 8 normal fitness: 1.4101106171818465 indiv: 9 normal fitness: 0.8353147937558152 indiv: 10 normal fitness: 0.08477204590096145 indiv: 11 normal fitness: 1.7450635790344258 indiv: 12 normal fitness: 1.4101106171818465 indiv: 13 normal fitness: 0.29980357696681487 indiv: 14 normal fitness: 2.1255039801509357 indiv: 15 normal fitness: 1.7491988007856922 indiv: 16 normal fitness: 1.1020365967124988 indiv: 17 normal fitness: 1.195079086115993 indiv: 18 normal fitness: 0.913884007029877 indiv: 19 normal fitness: 0.25638374857851753 selection indiv:* 0 normal fitness: 0.25845135945415076 No extra copy indiv:* 1 normal fitness: 0.913884007029877 Copy times: 1 extra indiv:* 2 normal fitness: 0.41145456425100796 Copy times: 1 extra indiv:* 3 normal fitness: 1.4080430063062133 Copy times: 1 indiv:* 3 normal fitness: 1.4080430063062133 Copy times: 2 extra indiv:* 4 normal fitness: 0.6058099865605293 No extra copy indiv:* 5 normal fitness: 0.25845135945415076 No extra copy indiv:* 6 normal fitness: 1.5072883283366072 Copy times: 1 indiv:* 6 normal fitness: 1.5072883283366072 Copy times: 2 extra indiv:* 7 normal fitness: 1.5093559392122404 Copy times: 1 indiv:* 7 normal fitness: 1.5093559392122404 No extra copy indiv:* 8 normal fitness: 1.4101106171818465 Copy times: 1 indiv:* 8 normal fitness: 1.4101106171818465 No extra copy indiv:* 9 normal fitness: 0.8353147937558152 Copy times: 1 extra indiv:* 10 normal fitness: 0.08477204590096145 No extra copy indiv:* 11 normal fitness: 1.7450635790344258 Copy times: 1 indiv:* 11 normal fitness: 1.7450635790344258 Copy times: 2 extra indiv:* 12 normal fitness: 1.4101106171818465 Copy times: 1 indiv:* 12 normal fitness: 1.4101106171818465 Copy times: 2 extra indiv:* 13 normal fitness: 0.29980357696681487 No extra copy indiv:* 14 normal fitness: 2.1255039801509357 Copy times: 1 indiv:* 14 normal fitness: 2.1255039801509357 Copy times: 2 indiv:* 14 normal fitness: 2.1255039801509357 No extra copy indiv:* 15 normal fitness: 1.7491988007856922 Copy times: 1 indiv:* 15 normal fitness: 1.7491988007856922 No extra copy indiv:* 16 normal fitness: 1.1020365967124988 Copy times: 1 indiv:* 16 normal fitness: 1.1020365967124988 No extra copy indiv:* 17 normal fitness: 1.195079086115993 Copy times: 1 indiv:* 17 normal fitness: 1.195079086115993 No extra copy indiv:* 18 normal fitness: 0.913884007029877 Copy times: 1 extra indiv:* 19 normal fitness: 0.25638374857851753 Copy times: 1 extra single crossover crossover rate: 0.9 shuffle ======== indiv: 0 chromosome: [1, 0, 1, 0, 1, 1, 1, 0, 1, 0] crossovered: not indiv: 1 chromosome: [0, 0, 1, 1, 1, 1, 1, 1, 0, 1] crossovered: not ======== indiv: 2 chromosome: [1, 1, 0, 1, 1, 1, 1, 1, 1, 0] crossovered: yes indiv: 3 chromosome: [0, 0, 0, 1, 1, 1, 0, 0, 1, 1] crossovered: yes ---after crossover--- indiv: 2 chromosome: [1, 1, 0, 1, 1, 1, 1, 0, 1, 1] crossovered: yes indiv: 3 chromosome: [0, 0, 0, 1, 1, 1, 0, 1, 1, 0] crossovered: yes ======== indiv: 4 chromosome: [1, 1, 1, 0, 1, 1, 1, 1, 0, 0] crossovered: yes indiv: 5 chromosome: [0, 0, 0, 0, 1, 1, 0, 1, 0, 1] crossovered: yes ---after crossover--- indiv: 4 chromosome: [1, 0, 0, 0, 1, 1, 0, 1, 0, 1] crossovered: yes indiv: 5 chromosome: [0, 1, 1, 0, 1, 1, 1, 1, 0, 0] crossovered: yes ======== indiv: 6 chromosome: [0, 1, 0, 0, 1, 1, 0, 0, 1, 1] crossovered: not indiv: 7 chromosome: [0, 0, 1, 1, 1, 1, 1, 1, 0, 1] crossovered: not ======== indiv: 8 chromosome: [1, 1, 0, 1, 1, 1, 1, 1, 1, 0] crossovered: not indiv: 9 chromosome: [1, 1, 1, 1, 1, 1, 1, 1, 0, 0] crossovered: not ======== indiv: 10 chromosome: [0, 1, 1, 1, 0, 0, 1, 1, 1, 1] crossovered: yes indiv: 11 chromosome: [1, 1, 1, 1, 1, 1, 1, 1, 0, 0] crossovered: yes ---after crossover--- indiv: 10 chromosome: [0, 1, 1, 1, 0, 0, 1, 1, 1, 0] crossovered: yes indiv: 11 chromosome: [1, 1, 1, 1, 1, 1, 1, 1, 0, 1] crossovered: yes ======== indiv: 12 chromosome: [0, 0, 1, 1, 0, 0, 1, 0, 1, 1] crossovered: not indiv: 13 chromosome: [1, 1, 1, 1, 1, 1, 1, 1, 0, 0] crossovered: not ======== indiv: 14 chromosome: [0, 1, 0, 0, 0, 1, 1, 1, 1, 1] crossovered: yes indiv: 15 chromosome: [1, 1, 1, 0, 1, 1, 1, 1, 0, 0] crossovered: yes ---after crossover--- indiv: 14 chromosome: [0, 1, 0, 0, 0, 1, 1, 1, 0, 0] crossovered: yes indiv: 15 chromosome: [1, 1, 1, 0, 1, 1, 1, 1, 1, 1] crossovered: yes ======== indiv: 16 chromosome: [1, 1, 1, 0, 1, 1, 1, 1, 0, 1] crossovered: yes indiv: 17 chromosome: [0, 0, 0, 0, 1, 1, 0, 1, 0, 1] crossovered: yes ---after crossover--- indiv: 16 chromosome: [1, 1, 1, 0, 1, 1, 0, 1, 0, 1] crossovered: yes indiv: 17 chromosome: [0, 0, 0, 0, 1, 1, 1, 1, 0, 1] crossovered: yes ======== indiv: 18 chromosome: [0, 0, 1, 1, 0, 0, 1, 1, 0, 0] crossovered: yes indiv: 19 chromosome: [1, 0, 0, 0, 1, 1, 0, 1, 0, 0] crossovered: yes ---after crossover--- indiv: 18 chromosome: [0, 0, 0, 0, 1, 1, 0, 1, 0, 0] crossovered: yes indiv: 19 chromosome: [1, 0, 1, 1, 0, 0, 1, 1, 0, 0] crossovered: yes mutation mutation rate: 0.1 indiv: 0 chromosome: [1, 0, 1, 0, 1, 1, 1, 0, 1, 0] mutated: not ======== indiv: 1 chromosome: [0, 0, 1, 1, 1, 1, 1, 1, 0, 1] mutated: not ======== indiv: 2 chromosome: [1, 1, 0, 1, 1, 1, 1, 0, 1, 1] mutated: not ======== indiv: 3 chromosome: [0, 0, 0, 1, 1, 1, 0, 1, 1, 0] mutated: not ======== indiv: 4 chromosome: [1, 0, 0, 0, 1, 1, 0, 1, 0, 1] mutated: not ======== indiv: 5 chromosome: [0, 1, 1, 0, 1, 1, 1, 1, 0, 0] mutated: not ======== indiv: 6 chromosome: [0, 1, 0, 0, 1, 1, 0, 0, 1, 1] mutated: not ======== indiv: 7 chromosome: [0, 0, 1, 1, 1, 1, 1, 1, 0, 1] mutated: not ======== indiv: 8 chromosome: [1, 1, 0, 1, 1, 1, 1, 1, 1, 0] mutated: not ======== indiv: 9 chromosome: [1, 1, 1, 1, 1, 1, 1, 1, 0, 0] mutated: not ======== indiv: 10 chromosome: [0, 1, 1, 1, 0, 0, 1, 1, 1, 0] mutated: not ======== indiv: 11 chromosome: [1, 1, 1, 1, 1, 1, 1, 1, 0, 1] mutated: not ======== indiv: 12 chromosome: [0, 0, 1, 1, 0, 0, 1, 0, 1, 1] mutated: not ======== indiv: 13 chromosome: [1, 1, 1, 1, 1, 1, 1, 1, 0, 0] mutated: not ======== indiv: 14 chromosome: [0, 1, 0, 0, 0, 1, 1, 1, 0, 0] mutated: not ======== indiv: 15 chromosome: [1, 1, 1, 0, 1, 1, 1, 1, 1, 1] mutated: not ======== indiv: 16 chromosome: [1, 1, 1, 0, 1, 1, 0, 1, 0, 1] mutated: not ======== indiv: 17 chromosome: [0, 0, 0, 0, 1, 1, 1, 1, 0, 1] mutated: not ======== indiv: 18 chromosome: [0, 0, 0, 0, 1, 1, 0, 1, 0, 0] mutated: not ======== indiv: 19 chromosome: [1, 0, 1, 1, 0, 0, 1, 1, 0, 0] mutated: not ========
BASH
|