A computer implemented method for determining a set of locations (m 1 -m 8) for a number of devices (n 1 -n 5) of a network, wherein the method comprises: for each distance measure of a plurality of distance measures, generating a respective pair of clusters (c 1, c 2) by means of a clustering method, which applies said each distance measure, whereby a plurality of pairs of clusters (c 1, c 2) are obtained, determining a set of information metrics, wherein the set of information metrics is based on Fisher's information or Bayesian information and comprises a respective information metric for each pair of the plurality of pairs of clusters, performing a first set of actions, wherein the first set of actions comprises: identifying a replaceable respective pair among the plurality of pairs based on the set of information metrics, calculating a weighted pair of clusters by calculating a weighted average of the plurality of pairs while using the set of information metrics as weights, and determining a further respective information metric for said weighted pair, while a difference between the respective information metric of the replaceable respective pair and the further respective information metric is greater than a threshold for indicating allowable difference between the respective information metric of the replaceable respective pair and the further respective information metric, performing a second set of actions, wherein the second set of actions comprises: replacing said replaceable respective pair among the plurality of pairs with said weighted pair, replacing, in the set of information metrics, the respective information metric for said replaceable respective pair with said further respective information metric for said weighted pair, and performing the first set of actions again, and wherein the method comprises: selecting the set of locations (m 1 -m 8) for the number of devices (n 1 -n 5) based on the weighted pair of clusters. for each distance measure of a plurality of distance measures, generating a respective pair of clusters (c 1, c 2) by means of a clustering method, which applies said each distance measure, whereby a plurality of pairs of clusters (c 1, c 2) are obtained, determining a set of information metrics, wherein the set of information metrics is based on Fisher's information or Bayesian information and comprises a respective information metric for each pair of the plurality of pairs of clusters, performing a first set of actions, wherein the first set of actions comprises: identifying a replaceable respective pair among the plurality of pairs based on the set of information metrics, calculating a weighted pair of clusters by calculating a weighted average of the plurality of pairs while using the set of information metrics as weights, and determining a further respective information metric for said weighted pair, identifying a replaceable respective pair among the plurality of pairs based on the set of information metrics, calculating a weighted pair of clusters by calculating a weighted average of the plurality of pairs while using the set of information metrics as weights, and determining a further respective information metric for said weighted pair, while a difference between the respective information metric of the replaceable respective pair and the further respective information metric is greater than a threshold for indicating allowable difference between the respective information metric of the replaceable respective pair and the further respective information metric, performing a second set of actions, wherein the second set of actions comprises: replacing said replaceable respective pair among the plurality of pairs with said weighted pair, replacing, in the set of information metrics, the respective information metric for said replaceable respective pair with said further respective information metric for said weighted pair, and performing the first set of actions again, and replacing said replaceable respective pair among the plurality of pairs with said weighted pair, replacing, in the set of information metrics, the respective information metric for said replaceable respective pair with said further respective information metric for said weighted pair, and performing the first set of actions again, and wherein the method comprises: selecting the set of locations (m 1 -m 8) for the number of devices (n 1 -n 5) based on the weighted pair of clusters.