Description
Balance migration, births and deaths in one lattice population.
Computational biology distinguishes discrete counts, probabilistic weights, sequence indexes and logical rules. A supplied event or record flag can be summarized without simulating a stochastic process, validating a sequence annotation or establishing a biological mechanism.
Balance migration, births and deaths in one lattice population.
When to use this tool
Use Lattice Population One Migration Balance when checking the stated count, sequence, Boolean-rule or support convention.
How to use the tool and how it works
- Enter population, arrivals, departures, births, deaths. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read netMigration, nextPopulation. Use the output convention below.
Balance migration, births and deaths in one lattice population. Require nonnegative whole inputs, departures <= initial population and deaths <= post-migration-plus-births; nextPopulation = initial+arrivals-departures+births-deaths.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| population | Population | Required. Safe integer; minimum 0. |
| arrivals | Arrivals | Required. Safe integer; minimum 0. |
| departures | Departures | Required. Safe integer; minimum 0. |
| births | Births | Required. Safe integer; minimum 0. |
| deaths | Deaths | Required. Safe integer; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| netMigration | Net Migration | Required. Safe integer. |
| nextPopulation | Next Population | Required. Safe integer. |
{
"input": {
"population": 100,
"arrivals": 10,
"departures": 20,
"births": 5,
"deaths": 3
},
"output": {
"netMigration": -10,
"nextPopulation": 92
}
} Limitations and assumptions
- Events and ordering are supplied; no migration process, spatial diffusion or stochastic sampling is simulated.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Use the complete sequence, identifier universe or stochastic/logical model for actual inference, sampling and uncertainty analysis.
References
Similar or alternative tools
- Mass Action Bimolecular One Propensity Term
Return a bimolecular reactant-pair count and propensity.
- Neutral Model Mutant Frequency Step
Apply a supplied mutant-count increment at fixed population.