jkomoros / CASsim

Complex Adaptive Systems Simulator
Apache License 2.0
21 stars 0 forks source link

Do a model about switching to a better approach #93

Open jkomoros opened 1 year ago

jkomoros commented 1 year ago

A model where agents are at a point (representing the plan they're executing at). The survival bar of how effective a technique to be has some uncertainty and different agents have a different view on it. Each agent looks at the actual rate of success on the current thing (and previous ones, with some memory fall off) and then the ones just next to it they look at expected quality (based on how much energy/time they want to spend looking for a better option). They switch to the neighbor with some probability that scales exponentially based on expected value (minus some switch cost). Always a very small chance of switching but sometimes a large one if much higher quality. How much risk an agent takes is based on their inherent risk tolerance and how much resources they’ve built up (so they can survive shortfall for awhile).

On each time tick they execute their current plan to get net resources (if below survival bar, then it's net 0). Then they search nearby neighbors and switch if they find a better one above some threshold