Table 1 Relevant action strategies and heuristic pseudo-codes for agents.

From: Evolutionary success of the thrifty genotype depends on both behavioral adaptations and temporal variability in the food environment

Strategy

Symbol

Eat

Perceive

Move

Static

S

1

0

0

Random foraging

RF

1

0

1

Directed foraging

DF

1

1

1

Feedback foraging

FF

1

1

1 if food is found,

    

0 otherwise

Heuristic

Pseudo-code

Repetition

\(L_{\alpha }(t+1) = L_{\alpha }(t)\)

Imitation

Select a random agent, \(\beta\), from current \(\alpha\)’s community then \(L_{\alpha }(t+1) = L_{\beta }(t)\)

Inquiring

Select that agent, \(\beta\), from current \(\alpha\)’s community with the biggest internal energy then \(L_{\alpha }(t+1) = L_{\beta }(t)\)

  1. When strategy is 1 or 0 means that the corresponding action is executed or not, respectively. Pseudo-code represents heuristics used to select an energy accumulation level (\(L_{\alpha }\)) at time t according to the heuristics of the CONSUMAT model. Agent \(\alpha\) considers other agents within its community if they are in those cells that agent \(\alpha\) can perceive.