| 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)
Adapterlikelihood in interface Adapterdistinct - The distinct alignmentpublic int numberParameters()
AdapternumberParameters in interface Adapter