If the nodes are static, its better to assign computation task to one centralised node in the cluster. In this case you can have a special node with high battery n computation power.
It depends on where sensed data are destined. In a nutshell, I won't consider computation itself as the main energy components but transmission instead. If you need data locally process it locally, if you need that data remotely then process it remotely, because in general terms sensors have limited energy and computation means with regard to the central node.