Programmable 3-valued gates
k
is a number of neighbours (2 or 3)
s
+
is a number of excited neighbours
A
0
:
s
+
Î
{
ë
k/2
û
,
é
k/2
ù
}
A
1
:
s
+
=
ë
k/2
û
A
2
:
s
+
=
é
k/2
ù