The Hodges-Lehmann (HL1) is defined as
$$\mathrm{HL1} = \mathop{\mathrm{median}}_{i<j} \Big( \frac{X_i+X_j}{2} \Big).$$
where \(i,j=1,2,\ldots,n\).
The Hodges-Lehmann (HL2) is defined as
$$\mathrm{HL2} = \mathop{\mathrm{median}}_{i \le j}\Big(\frac{X_i+X_j}{2} \Big).$$
The Hodges-Lehmann (HL3) is defined as
$$\mathrm{HL3} = \mathop{\mathrm{median}}_{\forall(i,j)} \Big( \frac{X_i+X_j}{2} \Big).$$