Cell
Direct Subclass:
Constructor Summary
| Public Constructor | ||
| public |
constructor(conf: object, kind: CellKind, C: CPMEvol, id: CellId) The constructor of class Cell. |
|
Member Summary
| Public Members | ||
| public |
C: * |
|
| public |
conf: * |
|
| public |
id: * |
|
| public |
kind: * |
|
| public |
parentId: * The id of the parent cell, all seeded cells have parent -1, to overwrite this this.birth(parent) needs to be called @type{number} |
|
| public get |
Get the current volume of this cell |
|
Method Summary
| Public Methods | ||
| public |
Adds parentId number, and can be overwritten to execute functionality on birth events. |
|
| public |
death() This is called upon death events. |
|
Public Constructors
public constructor(conf: object, kind: CellKind, C: CPMEvol, id: CellId) source
The constructor of class Cell.
Params:
| Name | Type | Attribute | Description |
| conf | object | configuration settings of the simulation, containing the relevant parameters. Note: this should include all constraint parameters. |
|
| kind | CellKind | the cellkind of this cell, the parameters of kind are used when parameters are not explicitly overwritten |
|
| C | CPMEvol | the CPM - used among others to draw random numbers |
|
| id | CellId | the CellId of this cell (its key in the CPM.cells), unique identifier |