|
phylopomp
Phylodynamics for POMPs
|

Go to the source code of this file.
Functions | |
| void | R_init_phylopomp (DllInfo *) |
| void | lbdp_rinit (double *, const double *, double, const int *, const int *, const int *, const double *) |
| Latent-state initializer (rinit). | |
| void | lbdp_gill (double *, const double *, const int *, const int *, const int *, const double *, double, double) |
| void | lbdp_dmeas (double *, const double *, const double *, const double *, int, const int *, const int *, const int *, const int *, const double *, double) |
| Measurement model likelihood (dmeasure). | |
| void | seirs_rinit (double *, const double *, double, const int *, const int *, const int *, const double *) |
| void | seirs_gill (double *, const double *, const int *, const int *, const int *, const double *, double, double) |
| void | seirs_dmeas (double *, const double *, const double *, const double *, int, const int *, const int *, const int *, const int *, const double *, double) |
| Measurement model likelihood (dmeasure). | |
| void | sirs_rinit (double *, const double *, double, const int *, const int *, const int *, const double *) |
| Latent-state initializer (rinit). | |
| void | sirs_gill (double *, const double *, const int *, const int *, const int *, const double *, double, double) |
| void | sirs_dmeas (double *, const double *, const double *, const double *, int, const int *, const int *, const int *, const int *, const double *, double) |
| Measurement model likelihood (dmeasure). | |
| void | strains_rinit (double *, const double *, double, const int *, const int *, const int *, const double *) |
| Latent-state initializer (rinit). | |
| void | strains_gill (double *, const double *, const int *, const int *, const int *, const double *, double, double) |
| void | strains_dmeas (double *, const double *, const double *, const double *, int, const int *, const int *, const int *, const int *, const double *, double) |
| Measurement model likelihood (dmeasure). | |
| void | twospecies_rinit (double *, const double *, double, const int *, const int *, const int *, const double *) |
| void | twospecies_gill (double *, const double *, const int *, const int *, const int *, const double *, double, double) |
| void | twospecies_dmeas (double *, const double *, const double *, const double *, int, const int *, const int *, const int *, const int *, const double *, double) |
| Measurement model likelihood (dmeasure). | |
|
extern |
Measurement model likelihood (dmeasure).
Definition at line 163 of file lbdp_pomp.c.
|
extern |
Latent-state process simulator (rprocess).
This integrates the filter equation.
Definition at line 71 of file lbdp_pomp.c.

|
extern |
Latent-state initializer (rinit).
Definition at line 52 of file lbdp_pomp.c.
|
extern |
|
extern |
|
extern |
Simulator for the latent-state process (rprocess).
This is the Gillespie algorithm applied to the solution of the filter equation for the SEIRS process.
Definition at line 139 of file seirs_pomp.c.

|
extern |
Latent-state initializer (rinit component).
The state variables include S, E, I, R plus 'ellE' and 'ellI' (numbers of E- and I-deme lineages), the accumulated weight ('ll'), the current node number ('node'), and the coloring of each lineage ('COLOR').
Definition at line 114 of file seirs_pomp.c.
|
extern |
|
extern |
Latent-state process simulator (rprocess).
This integrates the filter equation.
Definition at line 90 of file sirs_pomp.c.

|
extern |
|
extern |
|
extern |
Latent-state process simulator (rprocess).
This integrates the filter equation.
Definition at line 140 of file strains_pomp.c.

|
extern |
|
extern |
|
extern |
Simulator for the latent-state process (rprocess).
This is the Gillespie algorithm applied to the solution of the filter equation for the TwoSpecies model. It advances the state from time t to time t+dt.
A tricky aspect of this function is that it must return a "valid" state even when the state is incompatible with the genealogy. In such a case, we set the log likelihood (ll) to R_NegInf, but the state must remain valid. Hence insertion of extra infectives, etc.
FIXME: At the moment, the following codes exclude the possibility of importation of infection.
Definition at line 290 of file twospecies_pomp.c.

|
extern |
Latent-state initializer (rinit component).
The state variables include S, E, I, R plus 'ellE' and 'ellI' (numbers of E- and I-deme lineages), the accumulated weight ('ll'), the current node number ('node'), and the coloring of each lineage ('COLOR').
Definition at line 249 of file twospecies_pomp.c.