The units in the network can be in one of two
states, which may be denoted as
on and off, and 1, or 1 and
-1. If the network has
NA units in the A layer and NB units in
the B layer, we will denote
the state of the ith unit in the A layer at
time t by
and the
state of the jth unit in the B layer at time
t by
. The
weight on the link joining the ith unit in the
A layer to the jth unit
in the B layer is wij, where
and
.It may not be the case that wij=wji; in
fact, since NA need not
be the same as NB, in some cases both wij
and wji may not be
defined.
The network has an energy function whose form is similar to that of the Hopfield network:

The figure shows a simple BAM.