bagherilab / ARCADE

ARCADE: Agent-based model of heterogeneous cell populations in dynamic microenvironments
Other
9 stars 1 forks source link

CARCADE Refactor 1: Refactor Classes to Support Addition of New Agent, Module, or Action #102

Open allison-li-1016 opened 1 week ago

allison-li-1016 commented 1 week ago

These are all the classes with minimal changes that allow for the addition of new agents/module/classes. The changes are limited to a 1 line code change:

Classes with addition of an if/else case:

src/arcade/patch/agent/process/PatchProcessMetabolism.java src/arcade/patch/agent/cell/PatchCellContainer.java src/arcade/patch/sim/PatchSimulationHex.java src/arcade/patch/sim/PatchSimulationRect.java

Updating new module (inflammation) when splitting cells

src/arcade/patch/agent/module/PatchModuleProliferation.java

Changing confluence limit to account for T cell volume

src/arcade/patch/env/grid/PatchGrid.java