This is a continuation of the previous experiment in which a virus triggered CA-2 to injure CA-3. During repair CA-4 transferred its resources to CA-2, changing its structure (receptor), pr venting the virus from triggering an injury. The present experiment illustrates two additional repair strategies. We start with three transitional processes. The set point of CA-2 and CA-3 >= 20. CA-4 is isolated and its s. p. >=24.
Resource accumulator
The task of CA-4 is
to accumulate resources and when needed transfer them to the infected
CA-2.
When the injured CA
are small like in the next experiment CA-4 resources are insufficient
to repair the injury. The only way to change CA-2 structure is by raising
its set point.
Setup
nca=4; restoreparams[k,1,1
{k,1, 4}; If[sa[[no]]
>=15 ,donate[no, no]]; {no, 2, 4}; putinstep1; If[nowdat[[no,
8]] <= 2, newzygote[no]]; injury[3, 2, 15, 15, f[[3, 1]], 5, 0]; If[ sa[[3]]
!= sa[[2]], delon[[2]]
= 0 ;donate[2, 1]; donate[2, 4];donate[2,3]];
nca=4; restoreparams[k,1,1
{k,1, 4}; If[sa[[no]]
>=15 ,donate[no, no]]; {no, 2, 4}; putinstep1; If[nowdat[[no,
8]] <= 2, newzygote[no]]; injury[3, 2, 15, 15, f[[3, 1]], 5, 0]; If[ sa[[3]]
!= sa[[2]], CA-2[s.p.
>=24]