Each resistance of the circuit shown in diagram is r. The equivalent resistance across the points A and B is