<s>
The	O
pairwise	B-Algorithm
sorting	I-Algorithm
network	I-Algorithm
is	O
a	O
sorting	B-Algorithm
network	I-Algorithm
discovered	O
and	O
published	O
by	O
Ian	O
Parberry	O
in	O
1992	O
in	O
Parallel	O
Processing	O
Letters	O
.	O
</s>
<s>
The	O
pairwise	B-Algorithm
sorting	I-Algorithm
network	I-Algorithm
has	O
the	O
same	O
size	O
(	O
number	O
of	O
comparators	O
)	O
and	O
depth	O
as	O
the	O
odd	B-Algorithm
–	I-Algorithm
even	I-Algorithm
mergesort	I-Algorithm
network	I-Algorithm
.	O
</s>
<s>
The	O
sorting	B-Algorithm
procedure	O
implemented	O
by	O
the	O
network	O
is	O
as	O
follows	O
(	O
guided	O
by	O
the	O
zero-one	O
principle	O
)	O
:	O
</s>
<s>
The	O
pairwise	B-Algorithm
sorting	I-Algorithm
network	I-Algorithm
is	O
very	O
similar	O
to	O
the	O
Batcher	B-Algorithm
odd-even	I-Algorithm
mergesort	I-Algorithm
,	O
but	O
differs	O
in	O
the	O
structure	O
of	O
operations	O
.	O
</s>
<s>
In	O
certain	O
applications	O
like	O
encoding	O
cardinality	O
constraints	O
,	O
the	O
pairwise	B-Algorithm
sorting	I-Algorithm
network	I-Algorithm
is	O
superior	O
to	O
the	O
Batcher	O
network	O
.	O
</s>
