public class DuplicationModelFactory
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static Model |
BD_NoZero_Gamma(Parameters p,
int num,
int numCats)
Creates a Birth Death model with no zero state and gamma distributed
rates-across sites.
|
static Model |
BD_NoZero_Gamma(Parameters p,
int num,
int numCats,
boolean fixed)
Creates a Birth Death model with no zero state and gamma distributed
rates-across sites.
|
static Model |
BD_NoZero(Parameters p,
int num)
Creates a Birth Death model with no zero state.
|
static Model |
BD_NoZero(Parameters p,
int num,
boolean fixed)
Creates a Birth Death model with no zero state.
|
static Model |
BDI_Gamma(Parameters p,
int num,
int numCats)
Creates a simple BDI model with gamma-distributed rate
across sites.
|
static Model |
BDI_Gamma(Parameters p,
int num,
int numCats,
boolean fixed)
Creates a simple BDI model with gamma-distributed rate
across sites
|
static Model |
BDI(Parameters p,
int num)
Creates a simple BDI model.
|
static Model |
BDI(Parameters p,
int num,
boolean fixed)
Creates a simple BDI model
|
static Model |
BDIE_Gamma(Parameters p,
int num,
int numCats)
Creates a simple BDI model with gamma-distributed rate
across sites.
|
static Model |
BDIE_Gamma(Parameters p,
int num,
int numCats,
boolean fixed)
Creates a simple BDIE model with gamma-distributed rate
across sites
|
static Model |
BDIE(Parameters p,
int num,
boolean fixed)
Creates a simple BDIE model
|
static Model |
Parsimony_Gamma(Parameters p,
int num,
int numCats)
Creates a simple parsimony-style model with gamma-distributed rate
across sites.
|
static Model |
Parsimony_Gamma(Parameters p,
int num,
int numCats,
boolean fixed)
Creates a simple parsimony-style model with gamma-distributed rate
across sites
|
static Model |
Parsimony(Parameters p,
int num)
Creates a simple parsimony-style model
|
static Model |
Parsimony(Parameters p,
int num,
boolean fixed)
Creates a simple parsimony-style model
|
public static Model Parsimony(Parameters p, int num) throws Parameters.ParameterException
p
- Parameters structure to add the model parameters to (none in
this case but for consistency this is left here). Assumes branch lengths
are to be estimated.num
- The maximum family sizeParameters.ParameterException
- Thrown if the name of one
of the parameters to be added by this method is already in use.public static Model Parsimony(Parameters p, int num, boolean fixed) throws Parameters.ParameterException
p
- Parameters structure to add the model parameters to (none in
this case but for consistency this is left here)num
- The maximum family sizefixed
- Whether fixed branch lengths are being used (and so whether
or not one parameter should have a fixed value)Parameters.ParameterException
- Thrown if the name of one
of the parameters to be added by this method is already in use.public static Model Parsimony_Gamma(Parameters p, int num, int numCats) throws Parameters.ParameterException
p
- Parameters structure to add the model parameters tonum
- The maximum family sizenumCats
- The number of gamma categories to useParameters.ParameterException
- Thrown if the name of one
of the parameters to be added by this method is already in use.public static Model Parsimony_Gamma(Parameters p, int num, int numCats, boolean fixed) throws Parameters.ParameterException
p
- Parameters structure to add the model parameters tonum
- The maximum family sizenumCats
- The number of gamma categories to usefixed
- Whether fixed branch lengths are being used (and so whether
or not one parameter should have a fixed value)Parameters.ParameterException
- Thrown if the name of one
of the parameters to be added by this method is already in use.public static Model BDI(Parameters p, int num) throws Parameters.ParameterException
p
- Parameters structure to add the model parameters tonum
- The maximum family sizeParameters.ParameterException
- Thrown if the name of one
of the parameters to be added by this method is already in use.public static Model BDI(Parameters p, int num, boolean fixed) throws Parameters.ParameterException
p
- Parameters structure to add the model parameters tonum
- The maximum family sizefixed
- Whether fixed branch lengths are being used (and so whether
or not one parameter should have a fixed value)Parameters.ParameterException
- Thrown if the name of one
of the parameters to be added by this method is already in use.public static Model BDI_Gamma(Parameters p, int num, int numCats) throws Parameters.ParameterException
p
- Parameters structure to add the model parameters tonum
- The maximum family sizenumCats
- The number of gamma categories to useParameters.ParameterException
- Thrown if the name of one
of the parameters to be added by this method is already in use.public static Model BDI_Gamma(Parameters p, int num, int numCats, boolean fixed) throws Parameters.ParameterException
p
- Parameters structure to add the model parameters tonum
- The maximum family sizenumCats
- The number of gamma categories to usefixed
- Whether fixed branch lengths are being used (and so whether
or not one parameter should have a fixed value)Parameters.ParameterException
- Thrown if the name of one
of the parameters to be added by this method is already in use.public static Model BD_NoZero(Parameters p, int num) throws Parameters.ParameterException
p
- Parameters structure to add the model parameters tonum
- The maximum family sizeParameters.ParameterException
- Thrown if the name of one
of the parameters to be added by this method is already in use.public static Model BD_NoZero(Parameters p, int num, boolean fixed) throws Parameters.ParameterException
p
- Parameters structure to add the model parameters tonum
- The maximum family sizefixed
- Whether fixed branch lengths are being used (and so whether
or not one parameter should have a fixed value)Parameters.ParameterException
- Thrown if the name of one
of the parameters to be added by this method is already in use.public static Model BD_NoZero_Gamma(Parameters p, int num, int numCats) throws Parameters.ParameterException
p
- Parameters structure to add the model parameters tonum
- The maximum family sizenumCats
- The number of gamma categories to useParameters.ParameterException
- Thrown if the name of one
of the parameters to be added by this method is already in use.public static Model BD_NoZero_Gamma(Parameters p, int num, int numCats, boolean fixed) throws Parameters.ParameterException
p
- Parameters structure to add the model parameters tonum
- The maximum family sizenumCats
- The number of gamma categories to usefixed
- Whether fixed branch lengths are being used (and so whether
or not one parameter should have a fixed value)Parameters.ParameterException
- Thrown if the name of one
of the parameters to be added by this method is already in use.public static Model BDIE(Parameters p, int num, boolean fixed) throws Parameters.ParameterException
p
- Parameters structure to add the model parameters tonum
- The maximum family sizefixed
- Whether fixed branch lengths are being used (and so whether
or not one parameter should have a fixed value)Parameters.ParameterException
- Thrown if the name of one
of the parameters to be added by this method is already in use.public static Model BDIE_Gamma(Parameters p, int num, int numCats) throws Parameters.ParameterException
p
- Parameters structure to add the model parameters tonum
- The maximum family sizenumCats
- The number of gamma categories to useParameters.ParameterException
- Thrown if the name of one
of the parameters to be added by this method is already in use.public static Model BDIE_Gamma(Parameters p, int num, int numCats, boolean fixed) throws Parameters.ParameterException
p
- Parameters structure to add the model parameters tonum
- The maximum family sizenumCats
- The number of gamma categories to usefixed
- Whether fixed branch lengths are being used (and so whether
or not one parameter should have a fixed value)Parameters.ParameterException
- Thrown if the name of one
of the parameters to be added by this method is already in use.