Object-Oriented Refactoring of Existing Immune Models

  • Authors:
  • Hugues Bersini

  • Affiliations:
  • CODE/IRIDIA --- ULB, CP 194/6, Bruxelles, Belgium 1050

  • Venue:
  • ICARIS '09 Proceedings of the 8th International Conference on Artificial Immune Systems
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Extending a previous plea of the author for adopting the OO practices in the modelling of immunological systems, this paper explains the process of restructuring an existing, interesting and complex immune model of T cell responses by adopting OO good practices, essentially the drawing of UML state and class diagrams and the implementation of the "State Design Pattern". This pattern associates to each state in which a T cell can be found, a single class responsible for describing both the internal transition taking place while in this state and the switching to the next state. Its exploitation entails a natural decoupling of the code, facilitating its comprehension and its re-use. This exercise aims at showing that both UML and this design pattern adoption greatly improves the readability, communication, and thus the possible modification of existing codes. Generalizing this process to all exploitable and existing immune models will allow the constitution of an utilizable library of understandable and reproducible simulations, something that seems to miss these days and hampers the software side of theoretical immunology to take off.