public class TestInstance
extends java.lang.Object
Constructor and Description |
---|
TestInstance(Calculator<Likelihood> c,
Parameters p)
Creates an instance
|
TestInstance(Calculator<Likelihood> c,
Parameters p,
Adapter adapter,
Alignment distinct)
Creates a named instance.
|
TestInstance(Calculator<Likelihood> c,
Parameters p,
java.lang.String name)
Creates a named instance.
|
TestInstance(Calculator<Likelihood> c,
Parameters p,
java.lang.String name,
Adapter adapter,
Alignment distinct)
Creates a named instance.
|
Modifier and Type | Method and Description |
---|---|
double |
getAdapterL()
Get the likelihood of the adapter associated with this instance
|
Calculator<Likelihood> |
getCalculator()
Get the calculator associated with this instance
|
java.lang.String |
getName()
Get the name of this instance
|
int |
getNumberAdapterParams()
Get the number of parameters associated with the adapter for this instance
|
Parameters |
getParameters()
Get the parameters associated with this instance
|
public TestInstance(Calculator<Likelihood> c, Parameters p)
c
- The calculatorp
- The parameterspublic TestInstance(Calculator<Likelihood> c, Parameters p, java.lang.String name)
c
- The calculatorp
- The parametersname
- Name for the instancepublic TestInstance(Calculator<Likelihood> c, Parameters p, Adapter adapter, Alignment distinct)
c
- The calculatorp
- The parametersadapter
- The adapter to be used. See Whelan et al 2015 for more.distinct
- The comparable distinct alignment. See Whelan et al 2015
for morepublic TestInstance(Calculator<Likelihood> c, Parameters p, java.lang.String name, Adapter adapter, Alignment distinct)
c
- The calculatorp
- The parametersname
- Name for the instanceadapter
- The adapter to be used. See Whelan et al 2015 for more.distinct
- The comparable distinct alignment. See Whelan et al 2015
for morepublic Calculator<Likelihood> getCalculator()
public Parameters getParameters()
public java.lang.String getName()
public int getNumberAdapterParams()
public double getAdapterL()