Kuziak, Rodríguez-Velázquez, Yero, 2015. Computing the metric dimension of a graph from primary subgraphs.