\Along the lines developed by Celada and Seiden, for simulating an imm
une system by means of cellular automata, we have constructed a 'thymu
s' where T cells undergo positive and negative selection. The populati
ons thus 'matured' have been analyzed and their performance has been t
ested in machina. The key feature of this thymus is to allow chance me
eting and possible interaction between newly born T cells and antigen
presenting cells. The latter represent both the epithelial and the den
dritic cells of the biological organ and are equipped with MHC molecul
es that can accommodate selected self peptides. All possible specifici
ties are represented among the virgin T cells entering the thymus, but
this diversity is drastically reduced by the time they exit as mature
elements. In the model organ the fate of T cells, i.e. whether they w
ill undergo proliferation or apoptosis, is governed by their capacity
to recognize MHCs and the affinity of this interaction. Crucial parame
ters turn out to be the concentration of presenting cells, the number
of types of MHC per cell, the 'size of self' in terms of the number of
different peptides and their prevalence. According to the results, ev
ents in the automaton can realize unforeseen cooperations and competit
ions among receptors, depending upon the interaction order and frequen
cy, and ultimately determine the rescue or the killing of thymocytes.
Thus the making of the mature T repertoire has a random component and
cannot be completely predicted.