jdyeakel / Lego

0 stars 1 forks source link

Accumulating objects #7

Closed jdyeakel closed 7 years ago

jdyeakel commented 7 years ago

If extinctions are rare (trophicload=5), the community continues to grow past num_play in comsim. The accumulating richness is due entirely to objects, so there is some step (likely in colonize module) where uniqueness of objects is not taken into account.

jdyeakel commented 7 years ago

The duplicated elements are made objects... sometimes a single made object is duplicated more than once. In each case, the duplicated object is made by one species, though I don’t know if this is important.

jdyeakel commented 7 years ago

Guess - the problem is in the extinction module... when I run the colonize function status->full, and the extinction module resets status->full

jdyeakel commented 7 years ago

Given only made-objects are duplicated that have a single maker: Extinction module problem: A species is deleted but its made object remains... then the species + object arrives again during colonization, duplicating the object. This is the only way that this should happen if the duplicated made objects have only 1 maker

jdyeakel commented 7 years ago

Found the problem. It’s in the template. There are 'objects' that need other objects...

REASON:

if a high R/C species (10) makes an object lower on the list (5), and a species intermediate (8) makes (10), then, object 5 needs species 10, but then species 10 get turned into an object... so the object needs an object!

jdyeakel commented 7 years ago

Fixed in template. now we look to see if a species that is going to be turned into an object makes anything... the opposite of those make interactions will bee a need that must be turned into ignore. This seems to have resolved the issue.