How wouldyou add reactive behaviour to the agents in the fruitmarket example? I.e. if the ShopBot Agent stock of apples is less than 3 it would try to buy the resource from others. What would the logic code be?
Log in to post a comment.