Influence of observation on other-regarding attitude: a computational exploration