Table 1 Relevant action strategies and heuristic pseudo-codes for agents.
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)\) | |||