Divider
Extends:
Implements a basic holder for a model with internal products, which can be stochastically divided between daughter cells.
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public |
V: * Target Volume (overwrites V in volume constraint) @type{Number} |
|
| public |
products: * Arbitrary internal products @type{Array} |
|
Method Summary
| Public Methods | ||
| public |
On birth the X and Y products are divided between the two daughters This is equal between daughters if 'NOISE ' is 0, otherwise increases in absolute quantities randomly with NOISE |
|
Inherited Summary
| From class Cell | ||
| public get |
Get the current volume of this cell |
|
| 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 |
Adds parentId number, and can be overwritten to execute functionality on birth events. |
|
| public |
death() This is called upon death events. |
|
Public Constructors
Public Members
Public Methods
public birth(parent: Cell) source
On birth the X and Y products are divided between the two daughters This is equal between daughters if 'NOISE ' is 0, otherwise increases in absolute quantities randomly with NOISE
Override:
Cell#birthParams:
| Name | Type | Attribute | Description |
| parent | Cell | the parent (or other daughter) cell |