File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed
Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 77
88#include < iostream>
99
10- #include " ../../evo /NK-const.h"
10+ #include " ../../evo3 /NK-const.h"
1111#include " ../../evo3/World.h"
1212#include " ../../tools/BitSet.h"
1313#include " ../../tools/Random.h"
Original file line number Diff line number Diff line change 88#include < iostream>
99
1010#include " ../../config/ArgManager.h"
11- #include " ../../evo /NK.h"
11+ #include " ../../evo3 /NK.h"
1212#include " ../../evo3/World.h"
1313#include " ../../tools/BitVector.h"
1414#include " ../../tools/Random.h"
Original file line number Diff line number Diff line change 11# ## DEFAULT ###
22# Default settings for NK model
33
4- set K 5 # Level of epistasis in the NK model
5- set N 100 # Number of bits in each organisms (must be > K)
4+ set K 10 # Level of epistasis in the NK model
5+ set N 200 # Number of bits in each organisms (must be > K)
66set SEED 1 # Random number seed (0 for based on time)
7- set POP_SIZE 10 # Number of organisms in the popoulation.
8- set MAX_GENS 10 # How many generations should we process?
7+ set POP_SIZE 1000 # Number of organisms in the popoulation.
8+ set MAX_GENS 500 # How many generations should we process?
99set MUT_COUNT 3 # How many bit positions should be randomized?
1010set MY_VAL 20
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ struct TestOrg1 {
1919 bool DoMutate (emp::Random&) { return false ; }
2020
2121 bool operator ==(const TestOrg1 & in) const { return fitness == in.fitness ; }
22+ bool operator !=(const TestOrg1 & in) const { return fitness != in.fitness ; }
2223};
2324
2425int main () {
You can’t perform that action at this time.
0 commit comments