Add CLA and update others
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -18,7 +18,7 @@ struct S_BSO_Agent
|
|||||||
|
|
||||||
void Init (int coords)
|
void Init (int coords)
|
||||||
{
|
{
|
||||||
ArrayResize (c, coords);
|
ArrayResize (c, coords);
|
||||||
f = -DBL_MAX;
|
f = -DBL_MAX;
|
||||||
label = -1;
|
label = -1;
|
||||||
minDist = DBL_MAX;
|
minDist = DBL_MAX;
|
||||||
@@ -537,6 +537,15 @@ void C_AO_BSO::Moving ()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (int i = 0; i < parentPopSize + popSize; i++)
|
||||||
|
{
|
||||||
|
for (int c = 0; c < coords; c++)
|
||||||
|
{
|
||||||
|
parents [i].c [c] = u.RNDfromCI (rangeMin [c], rangeMax [c]);
|
||||||
|
parents [i].c [c] = u.SeInDiSp (parents [i].c [c], rangeMin [c], rangeMax [c], rangeStep [c]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user