Mecanism to isolate stopped island in topology

This commit is contained in:
quemy 2012-11-24 16:23:01 +01:00
commit cf93d6aeb4
5 changed files with 32 additions and 37 deletions

View file

@ -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;
}