Constructor and Description |
---|
EqualAdapter(java.util.Map<java.lang.String,java.lang.String> mapping)
Creates an instance
|
Modifier and Type | Method and Description |
---|---|
double |
likelihood(Alignment distinct)
Return the likelihood of the adapter given the distinct alignment
|
int |
numberParameters()
Return the number of parameters associated with the adapter
|
public EqualAdapter(java.util.Map<java.lang.String,java.lang.String> mapping)
mapping
- Map from compound state to distinct statepublic double likelihood(Alignment distinct)
Adapter
likelihood
in interface Adapter
distinct
- The distinct alignmentpublic int numberParameters()
Adapter
numberParameters
in interface Adapter