Information Technology Reference
In-Depth Information
the effect that an antigen with high affinity to one of the three values low, medium,
and high has also a certain affinity to the other values.
Table 2. Encoding of values
Frequency of use
Code
none
00000
low
11100
medium
11101
high
11111
4.2 The Class Definitions for Antibodies and Antigens
The two classes have similar structure and are responsible for the access to the
parameter values. They can be created by the user, but normally antigens are
produced by the central unit while antibodies are produced by the AIS-network. The
method for the input of values in the definition of an instance of the class Antigen for
instance is Antigen() , the method for displaying the relevant values of an instance
is AgPrint() . The creation of an antigen is illustrated in figure 7, the output of the
method AgPrint() is shown in figure 8.
Antigen Ag = new Antigen(„110111111“,
„11111101“,
„01110111“,
„11111“,
11,
-5);
Fig. 7. Creation of an antigen
Ag:
110111111
11111101
01110111
11111
11 -5
Des:
living room & Tuesday & 0 - 1 a.m. & no use
Fig. 8. Displaying an antigen
The output shows the codes for the room, day, time, and use, further the outdoor
temperature (11), and the outdoor temperature (-5). In the antibody class the first four
parameters correspond to the paratope part of the antibody and have the same
meaning as in the antigen class, while the last two parameters represent the heating
temperature and the optimal temperature. In addition, the antibody class contains four
parameters for the idiotope part and their values are initialized complementary to
those of the paratope part. An antibody with high affinity to the antigen of figure 8
would have the first six components shown in figure 9.
Ag:
001000000
00000010
00000000
00000
| !!11!! | 11 |
Des:
living room & Tuesday & 2 - 3 a.m. & no use
Fig. 9. An antibody with high affinity to the antigen
Search WWH ::




Custom Search