1 #ifndef CELLDATACONTAINERS_H
2 #define CELLDATACONTAINERS_H
8 #include "crminrobotagent_optimised.h"
22 enum ConjugationIntegrationPhase : unsigned;
23 enum TcellIntegrationPhase : unsigned;
30 unsigned int utcellFV, uapcFV;
33 double fConjugates, fEffectorConjugates, fRegulatorConjugates;
35 double fConjugates_k0, fConjugates_k1;
36 double fDelta_k0, fDelta_k1;
43 double GetConjugate(ConjugationIntegrationPhase CONJK);
44 void SetConjugate(ConjugationIntegrationPhase CONJK,
double conj);
45 double GetConjugateDelta(ConjugationIntegrationPhase CONJK);
46 void SetConjugateDelta(ConjugationIntegrationPhase CONJK,
double conjdelta);
57 double fE_prev, fR_prev;
62 double fE_Eu, fR_Eu, fE_Hu, fR_Hu;
65 double fDeltaE_k0, fDeltaR_k0, fDeltaE_k1, fDeltaR_k1;
68 list<structConj*> listPtrstoConjugatesofTcell;
73 double GetE(TcellIntegrationPhase K);
74 void SetE(TcellIntegrationPhase K,
double e);
76 double GetR(TcellIntegrationPhase K);
77 void SetR(TcellIntegrationPhase K,
double r);
79 void GetDelta(TcellIntegrationPhase K,
double *deltaE,
double *deltaR);
80 void SetDelta(TcellIntegrationPhase K,
double deltaE,
double deltaR);
90 double fAvailableSites, fTotalSites;
91 double fTotalConjugates;
93 double fEffectorConjugatesPerAPC, fRegulatorConjugatesPerAPC;
94 double fE_weightedbyaffinity, fR_weightedbyaffinity;
97 double f_tcellsweightedaffinity_tmp, f_ecellsweightedaffinity_tmp, f_rcellsweightedaffinity_tmp;
99 list<structConj> listConjugatesonAPC;
102 structAPC(
unsigned int fv,
double apc,
double sites);
107 unsigned UpdateConjugateList(list<structTcell>* tcells,
double cross_affinity);
113 #endif // CELLDATACONTAINERS_H