divilian / specstar

Combines SPECscape and SPECnet into one project
1 stars 1 forks source link

Make "rich enough" agents continue to contribute to proto #31

Closed divilian closed 5 years ago

divilian commented 5 years ago

Currently, the one and only time an agent deposits sugar into a proto is when it first joins. (The amount it deposits is the amount it has in excess of the join-a-sugar threshold.) Make this instead happen every iteration: an agent should always deposit all its excess sugar to its proto.

divilian commented 5 years ago

(@srikanthmudigonda, you needn't bother fixing this in the specscape repo unless you really want to; @TromboneDavies will fix it in this specstar repo, in the star folder, so that it works automatically for both scape and net in this specstar repo.)