pub struct TypeSpec {Show 17 fields
pub name: String,
pub target_volume: f64,
pub lambda_volume: f64,
pub secretion: BTreeMap<String, f64>,
pub uptake: BTreeMap<String, f64>,
pub chemotaxis: BTreeMap<String, f64>,
pub presents: BTreeMap<String, f64>,
pub target_surface: f64,
pub lambda_surface: f64,
pub division_volume: f64,
pub death_rate: f64,
pub target_length: f64,
pub lambda_length: f64,
pub connected: bool,
pub max_activity: f64,
pub lambda_activity: f64,
pub external: [f64; 3],
}Expand description
A cell type as the description states it.
Fields§
§name: StringThe name an engine shows.
target_volume: f64Target volume in lattice sites.
lambda_volume: f64Volume constraint strength.
secretion: BTreeMap<String, f64>Amount of each named species added to every site the cell owns, per step. A species the map leaves out is not secreted.
uptake: BTreeMap<String, f64>Fraction of each named species removed from every site the cell owns, per step.
chemotaxis: BTreeMap<String, f64>Sensitivity to each named species’ gradient. Positive climbs it.
presents: BTreeMap<String, f64>How much of each adhesion molecule this type presents.
target_surface: f64Target surface in boundary bonds. Zero with lambda_surface zero
leaves the constraint out, which is what a description that says
nothing about surface means.
lambda_surface: f64Surface constraint strength.
division_volume: f64Volume at which a cell divides, in sites. Absent never divides.
death_rate: f64Probability per step that a cell of this type dies. Absent never dies.
target_length: f64Target major axis in sites. Absent leaves the length unconstrained.
lambda_length: f64Length constraint strength.
connected: boolRefuse a copy that would locally pinch a cell of this type in two.
max_activity: f64Steps of memory a site keeps after this cell takes it.
lambda_activity: f64Strength of the persistence that memory buys.
external: [f64; 3]A constant drift, stated per axis.