For an arranged subset Q={q1β,q2β,...,qkβ} of vertices in a
connected graph G the metric representation of a vertex v in G, is the
k-vector r(vβ£Q)=(d(v,q1β),d(v,q2β),...,d(v,qkβ)) relative to
Q. Also, the subset Q is considered as resolving set for G if any pair of
vertices of G is distinguished by some vertices of Q. In the present
article, we study the minimum size of resolving set, and doubly resolving set
for the graph H(n), and the line graph of the graph H(n) is denoted by
L(n). Also, we compute some metrics for the Cartesian product Cnββ‘Pkβ
based on the resolving sets in graphs. It is well known that these problems are
NP hard