ratio stable kill
This commit is contained in:
parent
2e9791b054
commit
c1d79ac699
@ -306,7 +306,7 @@ int main() {
|
|||||||
|
|
||||||
std::vector<Species> Hnxt, Lnxt;
|
std::vector<Species> Hnxt, Lnxt;
|
||||||
for (auto &s : biosphere) {
|
for (auto &s : biosphere) {
|
||||||
if (s.stable_age <= 15 || s.best_w == best_w) {
|
if (s.stable_age <= 15 * s.best_w / best_w || s.best_w == best_w) {
|
||||||
if (s.best_w < best_w || s.age <= 35)
|
if (s.best_w < best_w || s.age <= 35)
|
||||||
Hnxt.push_back(std::move(s));
|
Hnxt.push_back(std::move(s));
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user