Mecanism to isolate stopped island in topology
This commit is contained in:
parent
56a72c2ff1
commit
cf93d6aeb4
5 changed files with 32 additions and 37 deletions
|
|
@ -9,7 +9,7 @@ using namespace std;
|
|||
int main(void)
|
||||
{
|
||||
typedef struct {
|
||||
unsigned popSize = 3;
|
||||
unsigned popSize = 1000;
|
||||
unsigned tSize = 2;
|
||||
double pCross = 0.8;
|
||||
double pMut = 0.7;
|
||||
|
|
@ -87,8 +87,9 @@ int main(void)
|
|||
model.add(test);
|
||||
model.add(test2);
|
||||
|
||||
model();
|
||||
|
||||
//model();
|
||||
test();
|
||||
test2();
|
||||
cout << test.getPop() << endl;
|
||||
cout << test2.getPop() << endl;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue