A journey among pairs of vertices: Computing Robots' paths for performing joint measurements